Docker Services

This commit is contained in:
Vicente Falco 2017-08-30 09:58:10 +02:00
parent a44281c794
commit c3707cc1eb
5 changed files with 16 additions and 6 deletions

View File

@ -6,6 +6,8 @@ WORKDIR /app
RUN npm install
CMD ["npm", "start"]
RUN npm -g install pm2
CMD ["pm2-docker", "."]
EXPOSE 3000

View File

@ -6,6 +6,8 @@ WORKDIR /app
RUN npm install
CMD ["npm", "start"]
RUN npm -g install pm2
CMD ["pm2-docker", "."]
EXPOSE 3002

View File

@ -6,6 +6,8 @@ WORKDIR /app
RUN npm install
CMD ["npm", "start"]
RUN npm -g install pm2
CMD ["pm2-docker", "."]
EXPOSE 3003

View File

@ -6,6 +6,8 @@ WORKDIR /app
RUN npm install
CMD ["npm", "start"]
RUN npm -g install pm2
CMD ["pm2-docker", "."]
EXPOSE 3004

View File

@ -6,6 +6,8 @@ WORKDIR /app
RUN npm install
CMD ["npm", "start"]
RUN npm -g install pm2
CMD ["pm2-docker", "."]
EXPOSE 3001