Spaces:
Build error
Build error
jordancaraballo
commited on
Commit
·
6c862fa
1
Parent(s):
57d1004
Fixing cartopy installation
Browse files- Dockerfile +4 -1
- requirements.txt +1 -3
Dockerfile
CHANGED
@@ -13,7 +13,10 @@ RUN python3 -m pip install --upgrade pip setuptools wheel
|
|
13 |
# fix-permissions "/home/${NB_USER}"
|
14 |
|
15 |
COPY requirements.txt .
|
16 |
-
RUN python3 -m pip install --upgrade pip setuptools wheel
|
|
|
|
|
|
|
17 |
RUN python3 -m pip install --no-cache-dir --compile -r requirements.txt
|
18 |
|
19 |
ENV PROJ_LIB='/opt/conda/share/proj'
|
|
|
13 |
# fix-permissions "/home/${NB_USER}"
|
14 |
|
15 |
COPY requirements.txt .
|
16 |
+
RUN python3 -m pip install --upgrade pip setuptools wheel cython numpy pyshp six
|
17 |
+
RUN python3 -m pip install --upgrade --no-binary :all: shapely
|
18 |
+
RUN python3 -m pip install git+https://github.com/SciTools/cartopy.git --upgrade --no-binary :all: cartopy
|
19 |
+
|
20 |
RUN python3 -m pip install --no-cache-dir --compile -r requirements.txt
|
21 |
|
22 |
ENV PROJ_LIB='/opt/conda/share/proj'
|
requirements.txt
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
geemap>=0.21.0
|
2 |
leafmap
|
3 |
mapwidget
|
4 |
-
solara
|
5 |
geopandas
|
6 |
datasets
|
7 |
rioxarray
|
8 |
-
streamlit
|
9 |
-
cartopy
|
|
|
1 |
geemap>=0.21.0
|
2 |
leafmap
|
3 |
mapwidget
|
|
|
4 |
geopandas
|
5 |
datasets
|
6 |
rioxarray
|
7 |
+
streamlit
|
|