gitlab-org--gitlab-foss/vendor/Dockerfile/Node-alpine.Dockerfile
Clement Ho 5461623dca Merge branch 'update-9-3-templates' into '9-3-stable'
Update templates for 9.3

See merge request !12041
2017-06-26 15:47:15 +00:00

14 lines
256 B
Docker

FROM node:7.9-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
CMD [ "npm", "start" ]
# replace this with your application's default port
EXPOSE 8888