From 9fcd63bcc975bf36312a99d1077c6e410bb895e2 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Mon, 6 Jul 2020 21:35:38 +0200
Subject: [PATCH] [jupyterhub] explicit data directory as work directory

---
 jupyterhub/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jupyterhub/Dockerfile b/jupyterhub/Dockerfile
index b0dce26..155ef83 100755
--- a/jupyterhub/Dockerfile
+++ b/jupyterhub/Dockerfile
@@ -61,6 +61,7 @@ COPY themes.jupyterlab-settings /root/.jupyter/lab/user-settings/@jupyterlab/app
 COPY commands.jupyterlab-settings /root/.jupyter/lab/user-settings/@jupyterlab/codemirror-extension/
 
 RUN chmod -x /etc/update-motd.d/*
+RUN mkdir /data
 
-WORKDIR "/root"
+WORKDIR "/data"
 CMD [ "jupyterhub-singleuser" ]
-- 
GitLab