From 37253cc5265df48c2beb752b535b7f5696e82ffc Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Fri, 6 Jan 2023 15:19:19 -0600 Subject: [PATCH] fix(docs): update readme to use nginx image for GUI --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41c27f5e..da2e6db4 100644 --- a/README.md +++ b/README.md @@ -280,7 +280,7 @@ read-only, but outputs should be read-write. ```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 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 @@ -306,3 +306,9 @@ directory after building the bundle: ```shell > 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 +```