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:
parent
dae5fd3b53
commit
3d244e6ba9
1 changed files with 12 additions and 0 deletions
12
.dockerignore
Normal file
12
.dockerignore
Normal 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/
|
||||
Loading…
Add table
Reference in a new issue