mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-15 06:11:11 +00:00
Fix install script variables, comment style, BuildKit syntax and placeholders
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user