From 327bf6e1541e3e0b63a22c8aff100b92c4aa6e39 Mon Sep 17 00:00:00 2001 From: Mahmoud Saada Date: Wed, 25 Feb 2026 10:36:31 -0500 Subject: [PATCH] Add JupyterHub singleuser support and jupyter-vscode-proxy Install jupyterhub (for hub communication) and jupyter-vscode-proxy (for browser-based VS Code via JupyterHub UI). Add default CMD for jupyterhub-singleuser which KubeSpawner can override as needed. --- dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockerfile b/dockerfile index 2496db2..0758a6e 100644 --- a/dockerfile +++ b/dockerfile @@ -27,6 +27,9 @@ COPY . . # Install the local package in editable mode within the environment RUN /usr/local/bin/micromamba run -n mdx2-dev pip install -e . +RUN /usr/local/bin/micromamba run -n mdx2-dev pip install --no-cache-dir jupyterhub jupyter-vscode-proxy EXPOSE 8888 +CMD ["/usr/local/bin/micromamba", "run", "-n", "mdx2-dev", "jupyterhub-singleuser"] +