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
This commit is contained in:
Claude 2026-03-22 10:13:53 +00:00
parent dae5fd3b53
commit 3d244e6ba9
No known key found for this signature in database

12
.dockerignore Normal file
View file

@ -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/