gitlab-org--gitlab-foss/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
Text
Raw Normal View History

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