Back-end: fix forever

This commit is contained in:
DIYgod
2016-09-09 18:21:28 +08:00
parent 5f83d9ffe3
commit ee83fdf357
+1 -1
View File
@@ -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"]