From 14adf08ce448fd0bc34ab78007d119f77516d667 Mon Sep 17 00:00:00 2001
From: Ulrich <ulrich.kerzel@rwth-aachen.de>
Date: Mon, 17 Mar 2025 08:41:40 +0100
Subject: [PATCH] update docker file as per mail from ITC

---
 Dockerfile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5d9223d..73fe318 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,16 @@
 # Specify parent image. Please select a fixed tag here.
-ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses:latest
+#ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses:latest
+ARG BASE_IMAGE=registry.jupyter.rwth-aachen.de/profiles/rwth-courses-python-3.11:latest
 FROM ${BASE_IMAGE}
 
+ARG conda_env=python311
+ARG py_ver=3.11
+ARG disp_name="Python 3.11 (ipykernel)"
+
 # Install packages via requirements.txt
 ADD requirements.txt .
-RUN pip install -r requirements.txt
+#RUN pip install -r 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
-- 
GitLab