From 519bca7bcf93fad1edf7e34c7b1f9059c2f70951 Mon Sep 17 00:00:00 2001
From: Milan Cermak <cermak@ics.muni.cz>
Date: Sat, 9 Nov 2024 21:52:51 +0100
Subject: [PATCH] Hotfix of the python modules installation using pip

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index ad7016a..6e708cf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -82,7 +82,7 @@ RUN apk add --update --no-cache postgresql nodejs python3 py3-pip \
     && su postgres -c "psql -c \"grant all privileges on database granef_visualization to granef;\"" \
     && su postgres -c "psql -d granef_visualization -c \"GRANT ALL ON SCHEMA public TO granef;\"" \
     && su postgres -c "pg_ctl stop -D /var/lib/postgresql/data" \
-    && pip3 install --trusted-host pypi.python.org --no-cache-dir -r requirements.txt
+    && pip3 install --trusted-host pypi.python.org --no-cache-dir --break-system-packages -r requirements.txt
 
 # Run communication-handler.py with arguments when container launches (CMD if there are no arguments) 
 ENTRYPOINT ["python3", "communication_handler.py"]
-- 
GitLab