build(container): use turbo pruned web workspace

This commit is contained in:
vince 2026-06-20 07:01:15 +02:00
parent 220fb55a47
commit 3e46a2c0cc
5 changed files with 58 additions and 37 deletions

View file

@ -139,10 +139,11 @@ the checked-in `apps/web/drizzle/` directory so startup migrations can run.
### Internal Container
The checked-in `apps/web/Containerfile` builds the React client and Bun server
from the workspace root into a runtime image. For the Dimension Lab internal
host, run it behind Caddy on a loopback port and mount persistent state at
`/data`:
The checked-in `apps/web/Containerfile` runs
`turbo prune @dimensionlab/web --docker`, installs the pruned manifest set, and
builds the React client plus Bun server from the pruned workspace source. For the
Dimension Lab internal host, run it behind Caddy on a loopback port and mount
persistent state at `/data`:
```sh
podman build -f apps/web/Containerfile -t localhost/dimensionlab-website:latest .