summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-04-27 21:57:41 +0300
committerLauri Ojansivu <x@xet7.org>2017-04-27 21:57:41 +0300
commit96fbb832bb85b2031dc823ae3931362c014034a9 (patch)
treeecf47f2cf9cfb0d2ee398beaa1fd5d398900bb60 /Dockerfile
parent71b951a75b5be88e7244cae6fccd45f2eebe5baf (diff)
downloadwekan-96fbb832bb85b2031dc823ae3931362c014034a9.tar.gz
wekan-96fbb832bb85b2031dc823ae3931362c014034a9.tar.bz2
wekan-96fbb832bb85b2031dc823ae3931362c014034a9.zip
Node version to 4.8.1 to solve 100% CPU issue. Thanks to johnniesong !
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e49b6dfd..134c4406 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@ 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:-v6.10.2}
+ENV NODE_VERSION ${NODE_VERSION:-v4.8.1}
ENV METEOR_RELEASE ${METEOR_RELEASE:-1.4.5}
ENV METEOR_EDGE ${METEOR_EDGE:-1.4.4-rc.6}
ENV NPM_VERSION ${NPM_VERSION:-3.10.10}
@@ -110,4 +110,4 @@ RUN \
ENV PORT=80
EXPOSE $PORT
-CMD ["node", "/build/main.js"] \ No newline at end of file
+CMD ["node", "/build/main.js"]