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
12 lines
250 B
Text
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/
|