docker
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user