Commit 4b5b2d0
Use multi-stage build to reduce image size
Split into builder and runtime stages. Final image only contains
the memtrace-viewer binary and runtime libs (78MB vs 5.9GB).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 985e3cc commit 4b5b2d0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | | - | |
| 22 | + | |
0 commit comments