This commit is contained in:
2026-03-14 15:02:17 -05:00
parent ee2a114932
commit a7b312efa9
2 changed files with 17 additions and 3 deletions

View File

@@ -33,6 +33,16 @@ docker build -t mrp-codex .
docker run -p 3000:3000 -v mrp_data:/app/data mrp-codex
```
Command-line build notes:
- The Dockerfile is intended to be built directly from the repo root with `docker build`
- `puppeteer` browser download is disabled during image build because the runtime image installs system Chromium
- You can override the Node base image version if needed:
```bash
docker build --build-arg NODE_VERSION=22 -t mrp-codex .
```
The container startup script runs `npx prisma migrate deploy` automatically before launching the server.
## Persistence and backup