diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile
index bb6d7db24ec8d3037a29c0a55417ea799c7fe3c9..13a7b7cce7d0121fc0e5011410cc7b14cfdab31c 100755
--- a/jupyterhub/base/Dockerfile
+++ b/jupyterhub/base/Dockerfile
@@ -22,8 +22,8 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
     npm config set update-notifier false --global
 
 ENV IPYTHONDIR=/usr/local/etc/ipython
-COPY jupyter_notebook_config.py /usr/local/etc/jupyter/
 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