Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends git
|
|
| 14 |
# 我们将用户名和PAT写入临时文件
|
| 15 |
RUN --mount=type=secret,id=GH_USERNAME \
|
| 16 |
--mount=type=secret,id=GH_TOKEN \
|
| 17 |
-
git clone https://$(cat /run/secrets/GH_USERNAME):$(cat /run/secrets/GH_TOKEN)@github.com/
|
| 18 |
|
| 19 |
# --- 设置Python环境 ---
|
| 20 |
# 1. 安装Python依赖
|
|
|
|
| 14 |
# 我们将用户名和PAT写入临时文件
|
| 15 |
RUN --mount=type=secret,id=GH_USERNAME \
|
| 16 |
--mount=type=secret,id=GH_TOKEN \
|
| 17 |
+
git clone https://$(cat /run/secrets/GH_USERNAME):$(cat /run/secrets/GH_TOKEN)@github.com/GH_USERNAME/ducg_web_app.git .
|
| 18 |
|
| 19 |
# --- 设置Python环境 ---
|
| 20 |
# 1. 安装Python依赖
|