Spaces:
Build error
Build error
Commit
·
032c1a0
1
Parent(s):
19b8a09
Working on #26, fixing Dockerfile typo, adding packages for cartopy
Browse files- Dockerfile +14 -14
Dockerfile
CHANGED
@@ -2,23 +2,23 @@ FROM jupyter/base-notebook:latest
|
|
2 |
|
3 |
RUN apt update && apt install -y git gcc build-essential libgeos-dev
|
4 |
|
5 |
-
RUN mamba install -c conda-forge leafmap geopandas localtileserver -y && \
|
6 |
-
fix-permissions "${CONDA_DIR}" && \
|
7 |
-
fix-permissions "/home/${NB_USER}"
|
8 |
|
9 |
-
COPY requirements.txt .
|
10 |
-
RUN pip install --upgrade pip setuptools wheel
|
11 |
-
RUN pip install --no-cache-dir --compile -r requirements.txt
|
12 |
|
13 |
-
RUN mkdir ./pages
|
14 |
-
COPY /pages ./pages
|
15 |
|
16 |
-
ENV PROJ_LIB='/opt/conda/share/proj'
|
17 |
|
18 |
-
USER root
|
19 |
-
RUN chown -R ${NB_UID} ${HOME}
|
20 |
-
USER ${NB_USER}
|
21 |
|
22 |
-
EXPOSE 7860
|
23 |
|
24 |
-
CMD ["streamlit", "run", "./pages/Home.py", "--server.port=7860"]
|
|
|
2 |
|
3 |
RUN apt update && apt install -y git gcc build-essential libgeos-dev
|
4 |
|
5 |
+
#RUN mamba install -c conda-forge leafmap geopandas localtileserver -y && \
|
6 |
+
# fix-permissions "${CONDA_DIR}" && \
|
7 |
+
# fix-permissions "/home/${NB_USER}"
|
8 |
|
9 |
+
#COPY requirements.txt .
|
10 |
+
#RUN pip install --upgrade pip setuptools wheel
|
11 |
+
#RUN pip install --no-cache-dir --compile -r requirements.txt
|
12 |
|
13 |
+
#RUN mkdir ./pages
|
14 |
+
#COPY /pages ./pages
|
15 |
|
16 |
+
#ENV PROJ_LIB='/opt/conda/share/proj'
|
17 |
|
18 |
+
#USER root
|
19 |
+
#RUN chown -R ${NB_UID} ${HOME}
|
20 |
+
#USER ${NB_USER}
|
21 |
|
22 |
+
#EXPOSE 7860
|
23 |
|
24 |
+
#CMD ["streamlit", "run", "./pages/Home.py", "--server.port=7860"]
|