Spaces:
Sleeping
Sleeping
Update docker
Browse files- Dockerfile +3 -10
Dockerfile
CHANGED
@@ -1,17 +1,9 @@
|
|
1 |
FROM jupyter/base-notebook:latest
|
2 |
|
3 |
-
|
4 |
-
RUN apt-get update && apt-get install -y git
|
5 |
-
USER ${NB_USER}
|
6 |
-
|
7 |
-
RUN mamba install -c conda-forge leafmap nodejs geopandas localtileserver -y && \
|
8 |
fix-permissions "${CONDA_DIR}" && \
|
9 |
fix-permissions "/home/${NB_USER}"
|
10 |
|
11 |
-
# RUN pip install setuptools wheel
|
12 |
-
# RUN pip install -U git+https://github.com/giswqs/ipyleaflet.git@pmtiles
|
13 |
-
# RUN pip install -U git+https://github.com/opengeos/leafmap.git
|
14 |
-
|
15 |
COPY requirements.txt .
|
16 |
RUN pip install -r requirements.txt
|
17 |
|
@@ -23,6 +15,7 @@ ENV PROJ_LIB='/opt/conda/share/proj'
|
|
23 |
USER root
|
24 |
RUN chown -R ${NB_UID} ${HOME}
|
25 |
USER ${NB_USER}
|
|
|
26 |
EXPOSE 8765
|
27 |
|
28 |
-
CMD ["solara", "run", "./pages", "--host=0.0.0.0"]
|
|
|
1 |
FROM jupyter/base-notebook:latest
|
2 |
|
3 |
+
RUN mamba install -c conda-forge leafmap geopandas localtileserver -y && \
|
|
|
|
|
|
|
|
|
4 |
fix-permissions "${CONDA_DIR}" && \
|
5 |
fix-permissions "/home/${NB_USER}"
|
6 |
|
|
|
|
|
|
|
|
|
7 |
COPY requirements.txt .
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
|
|
15 |
USER root
|
16 |
RUN chown -R ${NB_UID} ${HOME}
|
17 |
USER ${NB_USER}
|
18 |
+
|
19 |
EXPOSE 8765
|
20 |
|
21 |
+
CMD ["solara", "run", "./pages", "--host=0.0.0.0"]
|