giswqs commited on
Commit
680699f
1 Parent(s): a18479a

Updated Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -4,6 +4,10 @@ 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
 
@@ -13,9 +17,6 @@ COPY /pages ./pages
13
  ENV PROJ_LIB='/opt/conda/share/proj'
14
 
15
  USER root
16
- RUN apt-get update && apt-get install -y git
17
- RUN pip install -U git+https://github.com/gee-community/geemap.git
18
-
19
  RUN chown -R ${NB_UID} ${HOME}
20
  USER ${NB_USER}
21
 
 
4
  fix-permissions "${CONDA_DIR}" && \
5
  fix-permissions "/home/${NB_USER}"
6
 
7
+ USER root
8
+ RUN apt-get update && apt-get install -y git
9
+ RUN pip install -U git+https://github.com/gee-community/geemap.git
10
+
11
  COPY requirements.txt .
12
  RUN pip install -r requirements.txt
13
 
 
17
  ENV PROJ_LIB='/opt/conda/share/proj'
18
 
19
  USER root
 
 
 
20
  RUN chown -R ${NB_UID} ${HOME}
21
  USER ${NB_USER}
22