zhzabcd commited on
Commit
4326e4a
·
verified ·
1 Parent(s): 4252682

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -11,7 +11,7 @@ USER root
11
  RUN pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple
12
 
13
  # 安装项目依赖
14
- RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  # 启动 Daphne 服务器
17
  CMD ["daphne", "-b", "0.0.0.0", "-p", "8000", "server:application"]
 
11
  RUN pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple
12
 
13
  # 安装项目依赖
14
+ RUN pip install daphne==3.0.2
15
 
16
  # 启动 Daphne 服务器
17
  CMD ["daphne", "-b", "0.0.0.0", "-p", "8000", "server:application"]