mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
.devcontainer/Dockerfile, reduce build a bit + image size to 3.42 GB
- on a test system it reduced from 11m36s to 9m34s
This commit is contained in:
parent
19d204c7a8
commit
b5b323000a
1 changed files with 0 additions and 6 deletions
|
|
@ -230,12 +230,6 @@ RUN set -o xtrace \
|
||||||
cd /home/wekan/app && \
|
cd /home/wekan/app && \
|
||||||
gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \
|
gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \
|
||||||
gosu wekan:wekan /home/wekan/.meteor/meteor npm install && \
|
gosu wekan:wekan /home/wekan/.meteor/meteor npm install && \
|
||||||
gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \
|
|
||||||
cd /home/wekan/app_build/bundle/programs/server/ && \
|
|
||||||
chmod u+w package.json npm-shrinkwrap.json && \
|
|
||||||
gosu wekan:wekan npm install && \
|
|
||||||
cd node_modules/fibers && \
|
|
||||||
gosu wekan:wekan node build.js && \
|
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
apt-get remove --purge --assume-yes ${BUILD_DEPS} && \
|
apt-get remove --purge --assume-yes ${BUILD_DEPS} && \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue