HuggingFace0920 commited on
Commit
aa55603
·
verified ·
1 Parent(s): 5ba664e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -17,9 +17,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
17
  # 克隆仓库
18
  RUN git clone https://github.com/kfcx/HFSpaceDeploy.git
19
 
20
- # 复制并安装 Python 依赖
21
- COPY requirements.txt .
22
- RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # 复制应用代码和启动脚本
25
  COPY . .
 
17
  # 克隆仓库
18
  RUN git clone https://github.com/kfcx/HFSpaceDeploy.git
19
 
20
+ # 安装 HFSpaceDeploy 目录下的 Python 依赖
21
+ RUN pip install --no-cache-dir -r HFSpaceDeploy/requirements.txt
 
22
 
23
  # 复制应用代码和启动脚本
24
  COPY . .