From 2a1132e371ca4caf4361e435e048444fd855193d Mon Sep 17 00:00:00 2001
From: Jonas Waeber <jonas.waeber@unibas.ch>
Date: Thu, 6 Feb 2025 15:16:48 +0100
Subject: [PATCH] add dockerspawner

---
 Dockerfile           | 2 ++
 jupyterhub_config.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index acbc118..9b9431b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,4 +2,6 @@ FROM quay.io/jupyterhub/jupyterhub:latest
 
 COPY jupyterhub_config.py /etc/jupyterhub/jupyterhub_config.py
 
+RUN pip install dockerspawner
+
 CMD ["jupyterhub", "-f", "/etc/jupyterhub/jupyterhub_config.py"]
\ No newline at end of file
diff --git a/jupyterhub_config.py b/jupyterhub_config.py
index dd1a624..dd28dcc 100644
--- a/jupyterhub_config.py
+++ b/jupyterhub_config.py
@@ -1953,7 +1953,7 @@ c.Authenticator.allow_all = True
 #  Note that this does *not* prevent users from accessing files outside of this
 #  path! They can do so with many other means.
 #  Default: ''
-# c.Spawner.notebook_dir = ''
+c.Spawner.notebook_dir = ''
 
 ## Allowed scopes for oauth tokens issued by this server's oauth client.
 #  
-- 
GitLab