Skip to content
Snippets Groups Projects
Commit e3d7e406 authored by Christian Rohlfing's avatar Christian Rohlfing
Browse files

Update Dockerfile

parent 983ea615
No related branches found
No related tags found
No related merge requests found
Pipeline #281497 canceled
...@@ -9,6 +9,15 @@ RUN sed -i "s|name\: jupyter-example-profile|name\: base|g" /tmp/environment.yml ...@@ -9,6 +9,15 @@ RUN sed -i "s|name\: jupyter-example-profile|name\: base|g" /tmp/environment.yml
USER $NB_USER USER $NB_USER
RUN conda env update -f /tmp/environment.yml # All packages specified in environment.yml are installed in the base environment RUN conda env update -f /tmp/environment.yml # All packages specified in environment.yml are installed in the base environment
# Execute postBuild script
ADD postBuild.sh /tmp/postBuild.sh
# Make the file executable (TODO: is this still needed?)
USER root
RUN chmod +x /tmp/postBuild.sh
#
USER $NB_USER
RUN /tmp/postBuild.sh
# Cleanup conda packages # Cleanup conda packages
RUN conda clean --all -f -y RUN conda clean --all -f -y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment