huang123chuan commited on
Commit
58722f5
·
verified ·
1 Parent(s): c078ad0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -9,7 +9,7 @@ USER root
9
 
10
  # 4. 把新镜像里的最新代码覆盖到当前运行环境
11
  # 假设原项目代码在 /app
12
- COPY --from=source / /
13
 
14
  # 5. 修正权限(HF 需要 UID 1000)
15
  RUN chown -R 1000:1000 /app
 
9
 
10
  # 4. 把新镜像里的最新代码覆盖到当前运行环境
11
  # 假设原项目代码在 /app
12
+ COPY --from=source /app /app
13
 
14
  # 5. 修正权限(HF 需要 UID 1000)
15
  RUN chown -R 1000:1000 /app