debian-mirror-gitlab/vendor/Dockerfile/Node.Dockerfile

15 lines
249 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
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