From 5c2e67a8ff44076f8ea0585234fc93c03a0b0593 Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Thu, 17 Sep 2020 16:57:07 +0200 Subject: [PATCH] [jupyterlab] move root home to /home --- jupyterhub/base/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index 6eab4a8..ae9492b 100755 --- a/jupyterhub/base/Dockerfile +++ b/jupyterhub/base/Dockerfile @@ -21,6 +21,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ npm config set cache /var/cache/npm --global && \ npm config set update-notifier false --global +ENV HOME=/home ENV XDG_DATA_HOME=/usr/local/share ENV IPYTHONDIR=/usr/local/etc/ipython ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter @@ -83,5 +84,5 @@ RUN mkdir -p /usr/local/venv && \ RUN chmod -x /etc/update-motd.d/* -WORKDIR "/root" +WORKDIR "${HOME}" CMD [ "jupyterhub-singleuser" ] -- GitLab