Hostityourself/.dockerignore
Claude 3d244e6ba9
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
2026-03-22 10:13:53 +00:00

12 lines
250 B
Text

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