Fix install script variables, comment style, BuildKit syntax and placeholders

This commit is contained in:
yeasy
2026-03-13 22:55:03 -07:00
parent 575224371e
commit 0f2a7a6331
7 changed files with 11 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ FROM nginx:alpine
## 为了更直观的说明 from 和 source 指令,这里使用 RUN 指令
RUN --mount=type=cache,target=/tmp/dist,from=builder,source=/app/dist \
# --mount=type=cache,target/tmp/dist,from=my_app_dist,sharing=locked \
# --mount=type=cache,target=/tmp/dist,from=my_app_dist,sharing=locked \
mkdir -p /app/dist && cp -r /tmp/dist/* /app/dist
```