From 000cb0e83ffb6d9ce07b3e27dbc88394a06757ef Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Thu, 17 Sep 2020 14:55:19 +0200
Subject: [PATCH] [jupyterhub] misc

---
 jupyterhub/base/Dockerfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile
index 13a7b7c..251cbfb 100755
--- a/jupyterhub/base/Dockerfile
+++ b/jupyterhub/base/Dockerfile
@@ -21,12 +21,6 @@ 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 IPYTHONDIR=/usr/local/etc/ipython
-ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
-COPY jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/
-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 \
@@ -48,6 +42,12 @@ RUN python${PYTHON_VERSION} -m pip install \
     python${PYTHON_VERSION} -m pip install jupyterlab-git && \
     python${PYTHON_VERSION} -m jupyter lab build
 
+ENV IPYTHONDIR=/usr/local/etc/ipython
+ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
+COPY jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/
+ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings
+ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces
+
 RUN mkdir -p /usr/local/venv && \
     python${PYTHON_VERSION} -m venv /usr/local/venv/default && \
     . /usr/local/venv/default/bin/activate && \
-- 
GitLab