build: ship a static binary in a scratch image

This commit is contained in:
2026-09-10 19:34:49 +04:00
parent 92f9fe99be
commit b5d23c2d4e
3 changed files with 26 additions and 10 deletions
+2
View File
@@ -16,5 +16,7 @@ serde_json = "1.0"
tokio = { version = "1.48", features = ["macros", "rt-multi-thread", "signal", "net", "sync", "time"] }
[profile.release]
opt-level = "s"
lto = "thin"
strip = true
panic = "abort"