From 6b0d8a7247e2efe4bf29dce6fd496e230d979bd0 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 12 Dec 2022 15:57:18 +0100 Subject: [PATCH] Pin pyproj to version 3.3.x in Docker image For some reason pyproj 3.4.0 from pypi does not apply grids in transformations to and from DVR90 (and probable also other cases). This fixes the issue temporarily. --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d20e255..3e32a44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,10 @@ COPY /app/main.py /app/main.py RUN apt update -y && apt upgrade -y RUN pip install --upgrade pip -RUN pip install pyproj +RUN pip install "pyproj<3.4.0" +RUN pip install "flask>=2.1.0,<2.2.0" RUN pip install flask-restx flask-cors run pip install "Werkzeug>=2.1.0,<2.2.0" RUN pip install /webproj -RUN pyproj sync --source-id dk_sdfe +RUN pyproj sync --source-id dk_sdfe -v +