From 3c65b14012bc9f124dc2344c57e7d8a7a20c2fce Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Thu, 17 Sep 2020 15:53:12 +0200 Subject: [PATCH] [jupyterhub] misc --- jupyterhub/base/Dockerfile | 1 + jupyterhub/base/jupyter_notebook_config.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index 251cbfb..41b1ca9 100755 --- a/jupyterhub/base/Dockerfile +++ b/jupyterhub/base/Dockerfile @@ -47,6 +47,7 @@ ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter COPY jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/ ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces +ENV XDG_DATA_HOME=/usr/local/share RUN mkdir -p /usr/local/venv && \ python${PYTHON_VERSION} -m venv /usr/local/venv/default && \ diff --git a/jupyterhub/base/jupyter_notebook_config.py b/jupyterhub/base/jupyter_notebook_config.py index 41f1d14..3a2a847 100755 --- a/jupyterhub/base/jupyter_notebook_config.py +++ b/jupyterhub/base/jupyter_notebook_config.py @@ -2,4 +2,3 @@ c.NotebookApp.allow_root = True c.NotebookApp.terminado_settings = {"shell_command": ["/bin/bash", "-l"]} c.MultiKernelManager.default_kernel_name = "default" c.NotebookApp.notebook_dir = "/root" -c.Session.debug = True -- GitLab