Skip to content

Commit

Permalink
Skip installing WEBPROJ into the Docker image
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kbevers committed Nov 4, 2024
1 parent 731dbbc commit 02ccc28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 02ccc28

Please sign in to comment.