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:
authorClement Ho <clemmakesapps@gmail.com>2017-06-26 18:36:29 +0300
committerKushal Pandya <kushalspandya@gmail.com>2017-06-26 18:47:15 +0300
commit5461623dca6cfbae5794052772f58bd657d21ea4 (patch)
treeaa6ce4f04884df0ebdb8cb6520e562eb5f0daf0e /vendor/Dockerfile/Node.Dockerfile
parent831054a79d20e7af01106d9b1ac5a18965a51dc8 (diff)
Merge branch 'update-9-3-templates' into '9-3-stable'
Update templates for 9.3 See merge request !12041
Diffstat (limited to 'vendor/Dockerfile/Node.Dockerfile')
-rw-r--r--vendor/Dockerfile/Node.Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/Dockerfile/Node.Dockerfile b/vendor/Dockerfile/Node.Dockerfile
new file mode 100644
index 00000000000..7e936d5e887
--- /dev/null
+++ b/vendor/Dockerfile/Node.Dockerfile
@@ -0,0 +1,14 @@
+FROM node:7.9
+
+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
+
+CMD [ "npm", "start" ]
+
+# replace this with your application's default port
+EXPOSE 8888