Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • blup
2 results

Dockerfile

  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 537 B
    # Specify parent image. Please select a fixed tag here.
    ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses:latest
    FROM ${BASE_IMAGE}
    
    # Install packages via requirements.txt
    ADD requirements.txt .
    RUN pip install -r requirements.txt
    
    # .. Or update conda base environment to match specifications in environment.yml
    ADD environment.yml /tmp/environment.yml
    
    # All packages specified in environment.yml are installed in the base environment
    RUN mamba env update -f /tmp/environment.yml && \
        mamba clean -a -f -y