Commit Graph

1 Commits

Author SHA1 Message Date
Jonathan Chemla
782045dd82 Cobalt Web image Dockerfile
Build and run image with

```
docker build -f web/Dockerfile -t cobalt-web .
docker run -e WEB_DEFAULT_API="https://real.api.endpoint" -e WEB_HOST="http://abc"  -e WEB_PLAUSIBLE_HOST="def" -p 800:80 cobalt-web
```

Currently, vite build still uses process.env env-vars at build time, so the docker container is not using those defined via placeholders in `runtime-config.js`
2025-06-25 12:56:36 +02:00