From e9f524671fdcd2cf4d57f411852152070599d735 Mon Sep 17 00:00:00 2001 From: goose Date: Sat, 27 Jun 2026 20:26:36 -0300 Subject: [PATCH] fix(docker): stop excluding Cargo.lock from the build context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- backend/.dockerignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/.dockerignore b/backend/.dockerignore index 2c96eb1..a443985 100644 --- a/backend/.dockerignore +++ b/backend/.dockerignore @@ -1,2 +1,3 @@ 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.