瀏覽代碼

fix docker

DIYgod 8 年之前
父節點
當前提交
db30b0aec4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      nodejs/Dockerfile

+ 3 - 0
nodejs/Dockerfile

@@ -1,5 +1,8 @@
 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