playingapi commited on
Commit
a4d50c7
·
verified ·
1 Parent(s): 83ef536

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,3 +1,4 @@
 
1
  # 阶段 1:克隆项目并构建前端
2
  FROM node:lts-slim AS frontend-builder
3
 
@@ -48,6 +49,9 @@ COPY --from=frontend-builder /app/requirements.txt .
48
  # 安装 Python 依赖
49
  RUN pip install --no-cache-dir -r requirements.txt
50
 
 
 
 
51
  # 安装 huggingface_hub
52
  RUN pip install --no-cache-dir huggingface_hub
53
 
 
1
+ # Force rebuild
2
  # 阶段 1:克隆项目并构建前端
3
  FROM node:lts-slim AS frontend-builder
4
 
 
49
  # 安装 Python 依赖
50
  RUN pip install --no-cache-dir -r requirements.txt
51
 
52
+ # 显式安装 gunicorn
53
+ RUN pip install --no-cache-dir gunicorn==22.0.0
54
+
55
  # 安装 huggingface_hub
56
  RUN pip install --no-cache-dir huggingface_hub
57