From e27c1f521d90f7a1cf2a3df48af9a3881f8b3c3c Mon Sep 17 00:00:00 2001 From: HellerHagen Date: Sat, 21 Sep 2024 14:53:22 +0200 Subject: [PATCH] test: add app scaffold 23 --- base-images/vscode-nocuda/Dockerfile | 13 +++++++------ .../huggingface_chat_ui/__init__.py | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/base-images/vscode-nocuda/Dockerfile b/base-images/vscode-nocuda/Dockerfile index 4814bc7..aeb8842 100644 --- a/base-images/vscode-nocuda/Dockerfile +++ b/base-images/vscode-nocuda/Dockerfile @@ -84,13 +84,14 @@ RUN pip install \ nbgitpuller \ && rm -rf /tmp/* $HOME/.cache -RUN curl -fsSL https://get.docker.com | sh +RUN apt-get -y install podman + +RUN podman run -d \ + -p 9123:8080 \ + --name my-dashboard \ + --restart=always \ + lissy93/dashy:latest -RUN docker run --rm -it -d \ - -p 9123:8080 \ - --name my-dashboard \ - --restart=always \ - lissy93/dashy:latest # only install scilab-kernel for scipy notebooks RUN if [ "$JUPYTER_VARIANT" = "scipy" ]; \ diff --git a/packages/huggingface_chat_ui/huggingface_chat_ui/__init__.py b/packages/huggingface_chat_ui/huggingface_chat_ui/__init__.py index abfac07..3ca05e0 100644 --- a/packages/huggingface_chat_ui/huggingface_chat_ui/__init__.py +++ b/packages/huggingface_chat_ui/huggingface_chat_ui/__init__.py @@ -3,7 +3,7 @@ def run_chat_ui(): return { - "command": "xdg-open localhost:9888", + "command": "xdg-open localhost:9123", "timeout": 300, "new_browser_tab": True, "launcher_entry": {