Add BuildKit cache mounts and trim Docker build context
Build / build-and-push (push) Successful in 54s

- npm ci and composer install now use type=cache mounts, so a lockfile
  bump only re-fetches the packages that changed instead of the whole
  dependency tree.
- .dockerignore excludes .gitea/, so workflow edits no longer bust the
  COPY . . layer (and the dump-autoload / frontend re-copy it triggers).
- Fold the entrypoint chmod into COPY --chmod, dropping a layer.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-06 17:25:16 +01:00
co-authored by Claude Sonnet 5
parent 00d9008bf9
commit 06d5b721a3
2 changed files with 11 additions and 5 deletions
+1
View File
@@ -1,5 +1,6 @@
.git
.gitignore
.gitea
.dockerignore
vendor
storage