diff --git a/Dockerfile b/Dockerfile index ebe24cc..1d15fa9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -130,8 +130,7 @@ EXPOSE $JUPYTER_PORT -RUN echo 'export PATH=/opt/conda/bin/conda:$PATH' >> /home/${NB_USER}/.bashrc -RUN source ~/.bashrc + RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-theme RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-data-pool RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-training @@ -148,6 +147,9 @@ COPY jupyter_server_config.py /etc/jupyter/ # Fix permissions on /etc/jupyter as root USER root +RUN echo 'export PATH=/opt/conda/bin:$PATH' >> /etc/profile +RUN source /etc/profile + # Legacy for Jupyter Notebook Server, see: [#1205](https://github.com/jupyter/docker-stacks/issues/1205) RUN sed -re "s/c.ServerApp/c.NotebookApp/g" \ /etc/jupyter/jupyter_server_config.py > /etc/jupyter/jupyter_notebook_config.py && \