summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Moloney <stephen@stephenmoloney.com>2017-04-04 21:51:55 +0100
committerStephen Moloney <stephen@stephenmoloney.com>2017-04-04 21:51:55 +0100
commit0afe007d78ddfbb4f71eeaa61c0870c0aadb50c8 (patch)
tree11ca66722eee4012fc4cfdb477f21cb02a25e7eb
parentb242f49d7c2b26fb2bb25006b652151bd3e4c5e0 (diff)
downloadwekan-0afe007d78ddfbb4f71eeaa61c0870c0aadb50c8.tar.gz
wekan-0afe007d78ddfbb4f71eeaa61c0870c0aadb50c8.tar.bz2
wekan-0afe007d78ddfbb4f71eeaa61c0870c0aadb50c8.zip
change versions for dockerbuild
-rw-r--r--Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 4d67e5ee..81d53c1d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,9 +11,9 @@ ARG SRC_PATH
# Set the environment variables (defaults where required)
ENV BUILD_DEPS="wget curl bzip2 build-essential python git ca-certificates"
ENV GOSU_VERSION=1.10
-ENV NODE_VERSION ${NODE_VERSION:-v0.10.48}
-ENV METEOR_RELEASE ${METEOR_RELEASE:-1.3.5.1}
-ENV NPM_VERSION ${NPM_VERSION:-4.2.0}
+ENV NODE_VERSION ${NODE_VERSION:-v6.10.2}
+ENV METEOR_RELEASE ${METEOR_RELEASE:-1.4.3.2}
+ENV NPM_VERSION ${NPM_VERSION:-3.10.10}
ENV ARCHITECTURE ${ARCHITECTURE:-linux-x64}
ENV SRC_PATH ${SRC_PATH:-./}
@@ -63,7 +63,7 @@ RUN \
ln -s /opt/nodejs/bin/npm /usr/bin/npm && \
\
# Install Node dependencies
- npm install npm@${NPM_VERSION} -g && \
+ npm install -g npm@${NPM_VERSION} && \
npm install -g node-gyp && \
npm install -g fibers && \
\
@@ -78,7 +78,7 @@ RUN \
\
# Build app
cd /home/wekan/app && \
- gosu wekan /home/wekan/.meteor/meteor npm install --save xss && \
+ gosu wekan /home/wekan/.meteor/meteor npm install && \
gosu wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \
cd /home/wekan/app_build/bundle/programs/server/ && \
gosu wekan npm install && \
@@ -96,4 +96,4 @@ RUN \
ENV PORT=80
EXPOSE $PORT
-CMD ["node", "/build/main.js"]
+CMD ["node", "/build/main.js"] \ No newline at end of file