fix(docker): stop excluding Cargo.lock from the build context
Some checks failed
Lint and Build / format (push) Successful in 40s
Lint and Build / clippy (push) Successful in 1m48s
Lint and Build / build (push) Failing after 12s
Lint and Build / test (push) Failing after 0s

The .dockerignore listed Cargo.lock, which excluded it from the Docker build
context and broke 'COPY Cargo.toml Cargo.lock' in the Dockerfile (the new
multi-stage build surfaces this — the old images were built before the COPY
existed). Cargo.lock is committed for this binary crate and must be available
to the image build for reproducible dependency resolution.

Verified: build now reaches the dependency-caching step.
This commit is contained in:
goose 2026-06-27 20:26:36 -03:00
parent 1a010cea7e
commit e9f524671f

View file

@ -1,2 +1,3 @@
target/ target/
Cargo.lock # Note: do NOT exclude Cargo.lock here. It is committed (this is a binary crate)
# and the Dockerfile must COPY it for reproducible dependency resolution.