build(dockerfile): updated syntax directive to dockerfile 1.7-labs

This commit is contained in:
can1357
2026-05-15 04:56:22 +02:00
parent 995ba8e51e
commit 5de25bf51b
+2 -2
View File
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.7 # syntax=docker/dockerfile:1.7-labs
############################################################################### ###############################################################################
# oh-my-pi — build-artifacts image # oh-my-pi — build-artifacts image
# #
@@ -45,7 +45,7 @@ WORKDIR /pi
# Editing source files (under `packages/<x>/src/…` or `crates/<x>/src/…`) won't # Editing source files (under `packages/<x>/src/…` or `crates/<x>/src/…`) won't
# bust the `bun install` layer below, because none of those globs match. Only # bust the `bun install` layer below, because none of those globs match. Only
# touching a `package.json`, `Cargo.toml`, or a root lockfile invalidates this # touching a `package.json`, `Cargo.toml`, or a root lockfile invalidates this
# layer. `--parents` preserves the matched path under /pi/ (BuildKit 1.7+). # layer. `--parents` preserves the matched path under /pi/ (dockerfile 1.7-labs).
COPY --parents \ COPY --parents \
package.json bun.lock bunfig.toml \ package.json bun.lock bunfig.toml \
tsconfig.base.json tsconfig.json \ tsconfig.base.json tsconfig.json \