From 51232ea8f888144d9407f6c71d95a14e93236169 Mon Sep 17 00:00:00 2001 From: man3ng Date: Tue, 12 Nov 2024 17:37:58 -0800 Subject: [PATCH] force add specific version --- Dockerfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 04c7a7d..0d10c65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,18 @@ RUN apt update -y && \ add-apt-repository universe && \ apt update -y && \ apt install graphviz -y + +# Install geospatial packages first +RUN mamba install -c conda-forge -y \ + python=3.10 \ + geopandas=0.13.2 \ + cartopy=0.21.1 \ + pygeos=0.14 \ + pysal=2.7.0 \ + contextily=1.3.0 \ + osmnx=1.3.0 \ + jupyterlab_widgets=3.0.7 + RUN mamba install -c esri arcgis=2.2.0 -y && \ mamba update arcgis -y @@ -23,7 +35,7 @@ RUN mamba install numpy -y && \ RUN pip install --upgrade pip setuptools wheel RUN pip install --upgrade nbconvert -RUN mamba install -c conda-forge geopandas cartopy pygeos pysal contextily osmnx jupyterlab_widgets -y +# RUN mamba install -c conda-forge geopandas cartopy pygeos pysal contextily osmnx jupyterlab_widgets -y RUN pip uninstall pillow fiona -y && \ pip install -r ~/requirements.txt && \