diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index de9be913dee0769575510980dc66542db34fe54f..0b2e224ae12913bd30c26a4ac9e8d8a7a3705ce6 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