Without .dockerignore the build context included target/ — gigabytes sent to the daemon before the build even starts, on a host where disk has already been a constraint. Verified the image builds, runs migrations and serves /healthz. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
10 lines
230 B
Plaintext
10 lines
230 B
Plaintext
# The build context is sent to the daemon before the build starts, so
|
|
# target/ alone would push gigabytes across for no reason — the image
|
|
# compiles from source in its own builder stage anyway.
|
|
target
|
|
.git
|
|
data
|
|
.env
|
|
docs
|
|
*.md
|