summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-07-24 22:32:40 +0300
committerLauri Ojansivu <x@xet7.org>2019-07-24 22:32:40 +0300
commit7df6f305c5cf41ac213623aeffaa7e48c981e0b6 (patch)
tree090c25c012fb0c8f0fffa1b19f5b0ae767c20f05 /Dockerfile
parentf34197b8d2f7c32f0477b5b40442f0bdf2711042 (diff)
downloadwekan-7df6f305c5cf41ac213623aeffaa7e48c981e0b6.tar.gz
wekan-7df6f305c5cf41ac213623aeffaa7e48c981e0b6.tar.bz2
wekan-7df6f305c5cf41ac213623aeffaa7e48c981e0b6.zip
Try to fix Dockerfile.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index e1101312..c81dff9c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -174,7 +174,7 @@ RUN \
mv node-${NODE_VERSION}-${ARCHITECTURE} /opt/nodejs && \
ln -s /opt/nodejs/bin/node /usr/bin/node && \
ln -s /opt/nodejs/bin/npm /usr/bin/npm && \
- #mkdir -p /opt/nodejs/lib/node_modules/fibers/.node-gyp /root/.node-gyp/8.16.0 /home/wekan/.config && \
+ mkdir -p /opt/nodejs/lib/node_modules/fibers/.node-gyp /root/.node-gyp/8.16.0 /home/wekan/.config && \
chown wekan --recursive /home/wekan/.config && \
\
#DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303
@@ -196,8 +196,8 @@ RUN \
#sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh && \
echo "Starting meteor ${METEOR_RELEASE} installation... \n" && \
gosu wekan:wekan curl https://install.meteor.com/ | /bin/sh && \
- #chown wekan /home/wekan/install_meteor.sh && \
- #gosu wekan:wekan sh /home/wekan/install_meteor.sh; \
+ mv /root/.meteor /home/wekan/ && \
+ chown wekan --recursive /home/wekan/.meteor && \
\
# Check if opting for a release candidate instead of major release
#if [ "$USE_EDGE" = false ]; then \
@@ -242,7 +242,7 @@ RUN \
# Build app
cd /home/wekan/app && \
mkdir -p /home/wekan/.npm && \
- chown wekan --recursive /home/wekan/.npm /home/wekan/.config && \
+ chown wekan --recursive /home/wekan/.npm /home/wekan/.config /home/wekan/.meteor && \
#gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \
gosu wekan:wekan npm install && \
gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \
@@ -270,9 +270,9 @@ RUN \
rm -R /var/lib/apt/lists/* && \
rm -R /home/wekan/.meteor && \
rm -R /home/wekan/app && \
- rm -R /home/wekan/app_build && \
+ rm -R /home/wekan/app_build
#cat /home/wekan/python/esprima-python/files.txt | xargs rm -R && \
- rm -R /home/wekan/python
+ #rm -R /home/wekan/python
#rm /home/wekan/install_meteor.sh
ENV PORT=8080