leonsimon23 commited on
Commit
db306ee
·
verified ·
1 Parent(s): 1ce4c80

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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/YOUR_USERNAME/ducg_web_app.git .
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依赖