RUN sed-i"s|name\: jupyter-example-profile|name\: base|g" /tmp/environment.yml # we need to replace the name of the environment with base such that we can update the base environment here
RUN sed-i"s|name\: jupyter-example-profile|name\: base|g" /tmp/environment.yml # we need to replace the name of the environment with base such that we can update the base environment here
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
# Execute postBuild script
# All packages specified in environment.yml are installed in the base environment
ADD postBuild.sh /tmp/postBuild.sh
RUN conda env update -f /tmp/environment.yml &&\
# Make the file executable (TODO: is this still needed?)