From 9f833a5e08ee309f1c90434e4df9ca622db36fdf Mon Sep 17 00:00:00 2001 From: Ulrich <ulrich.kerzel@rwth-aachen.de> Date: Tue, 28 Feb 2023 14:45:45 +0100 Subject: [PATCH] add Dockerfile for RWTH Jupyter --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..839329c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +# 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 conda env update -f /tmp/environment.yml && \ +# conda clean -a -f -y + -- GitLab