From b44088b82f371a82a01dd29388220b36e6d3e0f7 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 26 Aug 2024 18:21:55 +0200 Subject: [PATCH] Set qpa and pythonpath --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3b1d220..7b5e7ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -237,6 +237,9 @@ WORKDIR /data ENTRYPOINT [ "/tini", "--", "/usr/local/bin/uid_entrypoint.sh" ] +ENV PYTHONPATH="/usr/share/qgis/python/" +ENV QT_QPA_PLATFORM=offscreen + EXPOSE 5000 CMD [ "/usr/local/bin/run.sh" ]