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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
231 B
Docker
Raw Normal View History

2018-11-18 11:00:15 +05:30
FROM node:8.11
2017-09-10 17:25:29 +05:30
WORKDIR /usr/src/app
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
2018-11-18 11:00:15 +05:30
2017-09-10 17:25:29 +05:30
COPY package.json /usr/src/app/
2018-11-18 11:00:15 +05:30
RUN npm install
2017-09-10 17:25:29 +05:30
2018-11-18 11:00:15 +05:30
COPY . /usr/src/app
2017-09-10 17:25:29 +05:30
# replace this with your application's default port
EXPOSE 8888
2018-11-18 11:00:15 +05:30
CMD [ "npm", "start" ]