debian-mirror-gitlab/vendor/Dockerfile/Node.Dockerfile
2018-11-18 11:00:15 +05:30

15 lines
No EOL
231 B
Docker

FROM node:8.11
WORKDIR /usr/src/app
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
# replace this with your application's default port
EXPOSE 8888
CMD [ "npm", "start" ]