mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fix bson error on Docker. Closes #1009
This commit is contained in:
parent
5752383d3c
commit
3e98e8c9fb
2 changed files with 6 additions and 2 deletions
|
@ -94,6 +94,10 @@ RUN \
|
|||
gosu wekan /home/wekan/.meteor/meteor add standard-minifier-js && \
|
||||
gosu wekan /home/wekan/.meteor/meteor npm install && \
|
||||
gosu wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \
|
||||
gosu wekan sed -i "s|build\/Release\/bson|browser_build\/bson|g" /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/bson/ext/index.js && \
|
||||
cd /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt && \
|
||||
gosu wekan rm -rf node_modules/bcrypt && \
|
||||
gosu wekan npm install bcrypt && \
|
||||
cd /home/wekan/app_build/bundle/programs/server/ && \
|
||||
gosu wekan npm install && \
|
||||
mv /home/wekan/app_build/bundle /build && \
|
||||
|
|
|
@ -3,7 +3,7 @@ version: '2'
|
|||
services:
|
||||
|
||||
wekandb:
|
||||
image: mongo:3.2.12
|
||||
image: mongo:3.2.13
|
||||
container_name: wekan-db
|
||||
restart: always
|
||||
command: mongod --smallfiles --oplogSize 128
|
||||
|
@ -16,7 +16,7 @@ services:
|
|||
- wekan-db-dump:/dump
|
||||
|
||||
wekan:
|
||||
image: mquandalle/wekan:latest
|
||||
image: wekanteam/meteor-1.4:latest
|
||||
container_name: wekan-app
|
||||
restart: always
|
||||
networks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue