feat(maestro): build web bundle into Docker image
ci / rust (push) Successful in 1m13s

NAP-218. Add a node:20 stage to the registry Dockerfile that runs
`pnpm install && pnpm build` against `web/`, then copies the
resulting `dist/` into the Rust builder so rust-embed picks it up.
Single-binary deploy still — no separate static-asset volume.

`.dockerignore` keeps `web/node_modules` and `web/dist` out of the
build context (the node stage produces them fresh) while letting the
sources through.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-25 09:57:26 +00:00
co-authored by Claude Opus 4.7
parent 077e9e958e
commit 2a902b713e
3 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ worktrees/
.github/
.claude/
docs/
web/
web/node_modules/
web/dist/
*.md
.env*