1
0
Fork 0

fix(docs): update readme to use nginx image for GUI

This commit is contained in:
Sean Sube 2023-01-06 15:19:19 -06:00
parent 225f5f15e2
commit 37253cc526
1 changed files with 7 additions and 1 deletions

View File

@ -280,7 +280,7 @@ read-only, but outputs should be read-write.
```shell ```shell
> podman run -p 5000:5000 --rm -v ../models:/models:ro -v ../outputs:/outputs:rw docker.io/ssube/onnx-web-api:main-buster > podman run -p 5000:5000 --rm -v ../models:/models:ro -v ../outputs:/outputs:rw docker.io/ssube/onnx-web-api:main-buster
> podman run -p 3000:3000 --rm docker.io/ssube/onnx-web-gui:main-buster > podman run -p 8000:80 --rm docker.io/ssube/onnx-web-gui:main-nginx-bullseye
``` ```
### Customizing the config ### Customizing the config
@ -306,3 +306,9 @@ directory after building the bundle:
```shell ```shell
> make bundle && cp -v ~/onnx-web-config.json out/config.json > make bundle && cp -v ~/onnx-web-config.json out/config.json
``` ```
When running the container, you can mount the config at `/usr/share/nginx/html/config.json` using:
```shell
> podman run -p 8000:80 --rm -v ~/onnx-web-config.json:/usr/share/nginx/html/config.json:ro docker.io/ssube/onnx-web-gui:main-nginx-bullseye
```