Commit 7efa9c1
fix: Docker build fails with no space left on device
Remove redundant 'go mod tidy' from Dockerfile — go.mod/go.sum are
already committed tidy, so 'go mod download' + 'go build' is sufficient.
The tidy step downloaded huge transitive test deps (gonum 500MB+ via
OpenTelemetry → gRPC chain) that exhausted Docker's disk.
Add .dockerignore to exclude Rust target/ (521MB), .git/, and test
directories from the build context, further reducing image build size
and preventing COPY disk exhaustion.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 99f61b1 commit 7efa9c1
2 files changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments