Add BuildKit cache mounts and trim Docker build context
Build / build-and-push (push) Successful in 54s
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:
@@ -1,5 +1,6 @@
|
||||
.git
|
||||
.gitignore
|
||||
.gitea
|
||||
.dockerignore
|
||||
vendor
|
||||
storage
|
||||
|
||||
Reference in New Issue
Block a user