Back-end: fix forever

This commit is contained in:
DIYgod 2016-09-09 18:21:28 +08:00
parent 5f83d9ffe3
commit ee83fdf357
No known key found for this signature in database
GPG Key ID: F8797DD1088C6506
1 changed files with 1 additions and 1 deletions

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"]