gitlab-org--gitlab-foss/vendor/Dockerfile/Node.Dockerfile
2018-08-08 09:28:55 +02:00

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" ]