linjinpeng commited on
Commit
6906c5c
·
verified ·
1 Parent(s): 7a05ccf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -13,8 +13,13 @@ WORKDIR /app
13
  # 克隆项目
14
  RUN git clone https://github.com/jhhgiyv/cursorweb2api.git .
15
 
16
- # 安装 Python 依赖
17
- RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
 
18
 
19
  # 设置环境变量(使用项目一键部署方案的配置)
20
  ENV API_KEY=aaa
 
13
  # 克隆项目
14
  RUN git clone https://github.com/jhhgiyv/cursorweb2api.git .
15
 
16
+ # 手动安装 Python 依赖(基于 main.py 中的导入)
17
+ RUN pip install --no-cache-dir \
18
+ fastapi \
19
+ uvicorn \
20
+ curl-cffi \
21
+ loguru \
22
+ pydantic
23
 
24
  # 设置环境变量(使用项目一键部署方案的配置)
25
  ENV API_KEY=aaa