Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-08-08 10:28:55 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-08-08 10:28:55 +0300
commit5ff3e93720a1f55a8b515b2b74b7d14c99be4bc1 (patch)
treed37f6291356dc65d9dbe1eaaac0e11c2111ff0c9 /vendor/Dockerfile/Node-alpine.Dockerfile
parent4271325283cf4bb5fda5ffffbd4b8d1465834efa (diff)
Update templates for 11.2
Diffstat (limited to 'vendor/Dockerfile/Node-alpine.Dockerfile')
-rw-r--r--vendor/Dockerfile/Node-alpine.Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/vendor/Dockerfile/Node-alpine.Dockerfile b/vendor/Dockerfile/Node-alpine.Dockerfile
index 9776b1336b5..5b9b495644a 100644
--- a/vendor/Dockerfile/Node-alpine.Dockerfile
+++ b/vendor/Dockerfile/Node-alpine.Dockerfile
@@ -1,14 +1,15 @@
-FROM node:7.9-alpine
+FROM node:8.11-alpine
WORKDIR /usr/src/app
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
+
COPY package.json /usr/src/app/
-RUN npm install && npm cache clean
-COPY . /usr/src/app
+RUN npm install
-CMD [ "npm", "start" ]
+COPY . /usr/src/app
# replace this with your application's default port
EXPOSE 8888
+CMD [ "npm", "start" ]