rhamon-garcia commited on
Commit
5c27a5b
·
verified ·
1 Parent(s): fe35f6e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -23
Dockerfile CHANGED
@@ -1,23 +1,22 @@
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
-
10
- RUN mkdir ./pages
11
- COPY /pages ./pages
12
-
13
- RUN earthengine authenticate
14
-
15
- ENV PROJ_LIB='/opt/conda/share/proj'
16
-
17
- USER root
18
- RUN chown -R ${NB_UID} ${HOME}
19
- USER ${NB_USER}
20
-
21
- EXPOSE 8765
22
-
23
- 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
+
10
+ RUN mkdir ./pages
11
+ COPY /pages ./pages
12
+
13
+
14
+ ENV PROJ_LIB='/opt/conda/share/proj'
15
+
16
+ USER root
17
+ RUN chown -R ${NB_UID} ${HOME}
18
+ USER ${NB_USER}
19
+
20
+ EXPOSE 8765
21
+
22
+ CMD ["solara", "run", "./pages", "--host=0.0.0.0"]