Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Node.Dockerfile « Dockerfile « vendor - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e936d5e8870e28062a6834fba3045cbdb48560b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM node:7.9

WORKDIR /usr/src/app

ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY package.json /usr/src/app/
RUN npm install && npm cache clean
COPY . /usr/src/app

CMD [ "npm", "start" ]

# replace this with your application's default port
EXPOSE 8888