From 5cb2f8fe5789bd1a43c36fd392ad2201dbc3990c Mon Sep 17 00:00:00 2001
From: Matthias Bodenbenner <m.bodenbenner@wzl-mq.rwth-aachen.de>
Date: Thu, 14 Mar 2024 14:09:53 +0100
Subject: [PATCH] fixed Dockerfile

---
 Dockerfile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 586ee6f..0f75191 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,16 +4,14 @@ FROM eclipse-temurin:11-alpine
 ### 2. Get Python, PIP
 
 ENV PYTHONUNBUFFERED=1
-RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
-RUN python3 -m ensurepip
-RUN pip3 install --no-cache --upgrade pip setuptools
+RUN apk add --update --no-cache python3 py3-pip py3-setuptools && ln -sf python3 /usr/bin/python
 
 # 3. Copy the python dependencies definition and install it
 
 RUN mkdir /home/soil-backend
 WORKDIR /home/soil-backend
 COPY ./requirements.txt .
-RUN pip3 install -r requirements.txt
+RUN pip3 install -r requirements.txt --break-system-package
 
 # 4. Copy all required source files and resources (i.e., the jar-build of the Monticore based SOIL tool)
 
-- 
GitLab