Explorar o código

Back-end: use forever

DIYgod %!s(int64=9) %!d(string=hai) anos
pai
achega
5f83d9ffe3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      nodejs/Dockerfile

+ 2 - 1
nodejs/Dockerfile

@@ -1,3 +1,4 @@
 FROM node:4.4-onbuild
 EXPOSE 1207
-ENTRYPOINT node index.js
+RUN npm install -g forever
+ENTRYPOINT forever start index.js