Split compose dev/prod and relax contact form friction.

Use compose.dev.yaml and compose.prod.yaml with fixed Go cache mounts, block sudo make dev, build Air outside app/tmp for rootless Docker, soften English spam checks, and simplify contact error copy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-07 11:41:13 +12:00
parent 3f5235daaf
commit bf110d0bc7
13 changed files with 125 additions and 76 deletions

View File

@@ -2,8 +2,8 @@ root = "."
tmp_dir = "tmp"
[build]
cmd = "templ generate --notify-proxy && go build -o ./tmp/main ./cmd/server"
entrypoint = ["./tmp/main"]
cmd = "templ generate --notify-proxy && go build -o /tmp/website-dev-main ./cmd/server"
entrypoint = ["/tmp/website-dev-main"]
delay = 300
exclude_dir = ["tmp", "bin", "images", "vendor", "testdata"]
exclude_regex = ["_templ.go"]