Files
chat/Dockerfile
clawbot 3513943d47
All checks were successful
check / check (push) Successful in 2m16s
fix: add web-builder Docker stage for JSX compilation
The previous rework removed web/dist/ from git tracking (correct) but
did not add a web-builder stage to the Dockerfile. This caused
//go:embed dist/* in web/embed.go to fail with 'no matching files found'.

Add the 4-stage Dockerfile layout:
1. web-builder: compile Preact JSX SPA via esbuild
2. lint: format checking and linting with placeholder dist files
3. builder: compile Go binaries with real web assets from web-builder
4. runtime: minimal Alpine image with neoircd binary

Also update README to document the 4-stage build.
2026-03-10 03:09:12 -07:00

2.1 KiB