Docker service print
This commit is contained in:
parent
09d788faaa
commit
8b79ec5cc8
|
@ -0,0 +1,13 @@
|
||||||
|
FROM node:6.9.1
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
RUN npm -g install pm2
|
||||||
|
|
||||||
|
CMD ["pm2-docker", "./server/server.js"]
|
||||||
|
|
||||||
|
EXPOSE 3006
|
Loading…
Reference in New Issue