Kelbec commited on
Commit
ad09afe
1 Parent(s): 61c4077

fix Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -1,7 +1,5 @@
1
  FROM jupyter/base-notebook:latest
2
 
3
- ARG GITHUB_TOKEN
4
-
5
  RUN mamba install -c conda-forge leafmap geopandas localtileserver -y && \
6
  fix-permissions "${CONDA_DIR}" && \
7
  fix-permissions "/home/${NB_USER}"
@@ -9,8 +7,9 @@ RUN mamba install -c conda-forge leafmap geopandas localtileserver -y && \
9
  USER root
10
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
11
  RUN conda install -c conda-forge gdal
12
- RUN pip install git+https://${GITHUB_TOKEN}@github.com/saferplaces/dcascade_py.git@test_no_click
13
- RUN pip install keplergl
 
14
  COPY requirements.txt .
15
  RUN pip install -r requirements.txt
16
 
 
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}"
 
7
  USER root
8
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
9
  RUN conda install -c conda-forge gdal
10
+
11
+ RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
12
+ pip install git+https://${GITHUB_TOKEN}@github.com/saferplaces/dcascade_py.git@test_no_click
13
  COPY requirements.txt .
14
  RUN pip install -r requirements.txt
15