Dockerfile 291 Bytes
Newer Older
Yoann HOUPERT's avatar
Yoann HOUPERT committed
1 2
FROM node:8-slim

Yoann HOUPERT's avatar
Yoann HOUPERT committed
3
WORKDIR /usr/src/app/linstt-poc
Yoann HOUPERT's avatar
Yoann HOUPERT committed
4 5 6 7

COPY package.json .
COPY yarn.lock .

Yoann HOUPERT's avatar
Yoann HOUPERT committed
8
RUN npm install
9 10
RUN npm install pm2 -g
#RUN yarn install
Yoann HOUPERT's avatar
Yoann HOUPERT committed
11

Yoann HOUPERT's avatar
Yoann HOUPERT committed
12
COPY . /usr/src/app/linstt-poc
Yoann HOUPERT's avatar
Yoann HOUPERT committed
13

Yoann HOUPERT's avatar
Yoann HOUPERT committed
14 15
RUN /usr/src/app/linstt-poc/ssl/generateDockerCert.sh

16 17
#CMD ["yarn", "start"]
CMD ["pm2-docker", "process.yml"]