Explorar o código

Back-end: fix forever

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

+ 1 - 1
nodejs/Dockerfile

@@ -1,4 +1,4 @@
 FROM node:4.4-onbuild
 EXPOSE 1207
 RUN npm install -g forever
-ENTRYPOINT forever start index.js
+ENTRYPOINT ["forever --spinSleepTime 1000 --minUptime 1000 index.js"]