From 3d244e6ba93f66c96fe079ccc505f8ad853ecc82 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 10:13:53 +0000 Subject: [PATCH] Add .dockerignore to drop build context from ~1.8 GB to a few KB The Dockerfile only needs Cargo.toml, Cargo.lock, and server/src/. Excluding target/ (Rust artifacts), builder/, docs/, infra/, proxy/, and .git/ means the daemon receives virtually nothing instead of 1.8 GB. https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH --- .dockerignore | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..93f3c0d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,12 @@ +# Rust build artifacts — by far the largest directory, not needed at build time. +target/ + +# Not used by the Dockerfile (builder/ is mounted as a volume at runtime). +builder/ +docs/ +infra/ +proxy/ +plan.md + +# Never send version-control metadata. +.git/