Back-end: fix forever

This commit is contained in:
DIYgod 2016-09-09 18:24:30 +08:00
parent ee83fdf357
commit 1c5a4923f7
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 --spinSleepTime 1000 --minUptime 1000 index.js"]
ENTRYPOINT forever --spinSleepTime 1000 --minUptime 1000 index.js