fix docker

This commit is contained in:
DIYgod
2016-10-12 23:32:17 +08:00
parent db30b0aec4
commit 48612ae8a0
-4
View File
@@ -1,9 +1,5 @@
FROM node:4.4-onbuild
EXPOSE 1207
RUN apt-get install python-software-properties
RUN add-apt-repository ppa:rwky/redis
RUN apt-get update
RUN apt-get install redis-server
RUN redis-server
RUN npm install -g forever
ENTRYPOINT forever --spinSleepTime 1000 --minUptime 1000 index.js