Docker Services
This commit is contained in:
parent
a44281c794
commit
c3707cc1eb
|
@ -6,6 +6,8 @@ WORKDIR /app
|
|||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "start"]
|
||||
RUN npm -g install pm2
|
||||
|
||||
CMD ["pm2-docker", "."]
|
||||
|
||||
EXPOSE 3000
|
||||
|
|
|
@ -6,6 +6,8 @@ WORKDIR /app
|
|||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "start"]
|
||||
RUN npm -g install pm2
|
||||
|
||||
CMD ["pm2-docker", "."]
|
||||
|
||||
EXPOSE 3002
|
|
@ -6,6 +6,8 @@ WORKDIR /app
|
|||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "start"]
|
||||
RUN npm -g install pm2
|
||||
|
||||
CMD ["pm2-docker", "."]
|
||||
|
||||
EXPOSE 3003
|
||||
|
|
|
@ -6,6 +6,8 @@ WORKDIR /app
|
|||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "start"]
|
||||
RUN npm -g install pm2
|
||||
|
||||
CMD ["pm2-docker", "."]
|
||||
|
||||
EXPOSE 3004
|
||||
|
|
|
@ -6,6 +6,8 @@ WORKDIR /app
|
|||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "start"]
|
||||
RUN npm -g install pm2
|
||||
|
||||
CMD ["pm2-docker", "."]
|
||||
|
||||
EXPOSE 3001
|
Loading…
Reference in New Issue