jordancaraballo commited on
Commit
19b8a09
·
1 Parent(s): 28de960

Working on #26, fixing Dockerfile typo, adding packages for cartopy

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,11 +1,14 @@
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
@@ -18,4 +21,4 @@ USER ${NB_USER}
18
 
19
  EXPOSE 7860
20
 
21
- CMD ["streamlit", "run", "./pages/Home.py", "--server.port=7860"]
 
1
  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
 
21
 
22
  EXPOSE 7860
23
 
24
+ CMD ["streamlit", "run", "./pages/Home.py", "--server.port=7860"]