FranciscoGS commited on
Commit
a6ee36f
·
verified ·
1 Parent(s): 0b3faa2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -7,8 +7,10 @@ RUN mamba install -c conda-forge leafmap geopandas localtileserver ipyleaflet -y
7
  COPY requirements.txt .
8
  RUN pip install -r requirements.txt
9
 
10
- RUN mkdir ./pages
11
- COPY /pages ./pages
 
 
12
 
13
  ENV PROJ_LIB='/opt/conda/share/proj'
14
 
@@ -19,3 +21,4 @@ USER ${NB_USER}
19
  EXPOSE 8765
20
 
21
  CMD ["solara", "run", "./pages", "--host=0.0.0.0"]
 
 
7
  COPY requirements.txt .
8
  RUN pip install -r requirements.txt
9
 
10
+ # Dir
11
+ WORKDIR /home/${NB_USER}
12
+ COPY pages ./pages
13
+ COPY data ./data
14
 
15
  ENV PROJ_LIB='/opt/conda/share/proj'
16
 
 
21
  EXPOSE 8765
22
 
23
  CMD ["solara", "run", "./pages", "--host=0.0.0.0"]
24
+