Commit 5412865c authored by Yoann HOUPERT's avatar Yoann HOUPERT

Merge branch '30-T6-0e-Parallelism-support-in-Controller-Service-SC-component' into 'master'

30 t6 0e parallelism support in controller service sc component

See merge request !3
parents d64dac9c 2950d2ee
Pipeline #6829 passed with stage
in 28 seconds
FROM node:8-slim
RUN apt-get update && apt-get install -y wget --no-install-recommends \
&& apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get purge --auto-remove -y curl \
&& rm -rf /src/*.deb
WORKDIR /usr/src/app/linstt-poc
COPY package.json .
COPY yarn.lock .
RUN yarn install
RUN npm install pm2 -g
#RUN yarn install
COPY . /usr/src/app/linstt-poc
RUN /usr/src/app/linstt-poc/ssl/generateDockerCert.sh
CMD ["yarn", "start"]
#CMD ["yarn", "start"]
CMD ["pm2-docker", "process.yml"]
apps:
- script : app.js
instances: 4
exec_mode: cluster
watch : true
env :
NODE_ENV: development
env_production:
NODE_ENV: production
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment