From 02ccc282cccbee4100124f740ca1fc69c95559a0 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 4 Nov 2024 14:59:01 +0100 Subject: [PATCH] Skip installing WEBPROJ into the Docker image The way it is called does not require the package to be installed in the Python environment and since it has been causing problems we just skip that step. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a57c96..3a7f43a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM condaforge/miniforge3 # We store PROJ ressources in $WEBPROJ_LIB -ENV WEBPROJ_LIB /proj +ENV WEBPROJ_LIB=/proj RUN mkdir $WEBPROJ_LIB # Copy necessary files. Tests and README are needed by setup.py @@ -19,7 +19,6 @@ RUN apt-get update -y && apt-get upgrade -y # Set up virtual environment RUN conda env create -f environment.yaml -RUN conda run -n webproj python -m pip install --no-deps . # Sync PROJ-data files RUN conda run -n webproj pyproj sync --source-id dk_sdfe --target-dir $WEBPROJ_LIB