Back-end: use forever

This commit is contained in:
DIYgod
2016-09-09 17:59:30 +08:00
parent 42c9fc7091
commit 5f83d9ffe3
+2 -1
View File
@@ -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