Update Dockerfile
Browse files- 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 |
-
#
|
| 21 |
-
|
| 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 . .
|