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

15 lines
239 B
Docker

FROM node:8.11-alpine
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" ]