Select Git revision
Dockerfile.python-3.10
Marcus Meyer authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile.python-3.10 644 B
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses-python-3.10:latest
FROM ${BASE_IMAGE}
ARG conda_env=python310
ARG py_ver=3.10
ARG disp_name="Python 3.10 (ipykernel)"
# Install packages via requirements.txt
ADD requirements.txt .
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install --no-cache-dir -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 -n "${conda_env}" -f /tmp/environment.yml && \
mamba clean -a -f -y