From 986cb0e747d48b0023d1dfcb76029b4a012fd99c Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Thu, 17 Sep 2020 13:50:27 +0200 Subject: [PATCH] [jupyterhub] misc --- jupyterhub/base/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index de9be91..0b2e224 100755 --- a/jupyterhub/base/Dockerfile +++ b/jupyterhub/base/Dockerfile @@ -21,6 +21,11 @@ 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 +COPY jupyter_notebook_config.py /usr/local/etc/jupyter +ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter/jupyter +ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings +ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces + RUN python${PYTHON_VERSION} -m pip install \ jupyterlab \ jupyterhub \ @@ -74,11 +79,6 @@ RUN mkdir -p /usr/local/venv && \ && \ ipython kernel install --name=default -COPY jupyter_notebook_config.py /etc/jupyter/ -ENV JUPYTER_CONFIG_DIR=/etc/jupyter -ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings -ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces - RUN chmod -x /etc/update-motd.d/* RUN mkdir /data -- GitLab