chenchaoyun commited on
Commit
b47452e
·
1 Parent(s): 616dc82
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -72,5 +72,5 @@ RUN pip install --upgrade pip
72
  # 安装所有依赖 - 现在可以一次性完成
73
  RUN pip install --no-cache-dir -r requirements.txt
74
  EXPOSE 7860
75
- CMD ["uvicorn", "app:app", "--workers", "2", "--loop", "asyncio", "--http", "httptools", "--host", "0.0.0.0", "--port", "7860", "--timeout-keep-alive", "600"]
76
 
 
72
  # 安装所有依赖 - 现在可以一次性完成
73
  RUN pip install --no-cache-dir -r requirements.txt
74
  EXPOSE 7860
75
+ CMD ["uvicorn", "app:app", "--workers", "1", "--loop", "asyncio", "--http", "httptools", "--host", "0.0.0.0", "--port", "7860", "--timeout-keep-alive", "600"]
76