Add a Dockerfile for building and running natter.

This commit is contained in:
Tom Alexander
2023-12-21 20:02:28 -05:00
parent b06798f23f
commit 40120667f7
4 changed files with 54 additions and 0 deletions

View File

@@ -32,3 +32,9 @@ serde_json = "1.0.107"
tokio = { version = "1.30.0", default-features = false, features = ["rt", "rt-multi-thread", "fs", "io-util"] }
toml = "0.8.2"
walkdir = "2.4.0"
# Optimized build for any sort of release.
[profile.release-lto]
inherits = "release"
lto = true
strip = "symbols"