File size: 572 Bytes
873af12
 
cc4c8ba
873af12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM jupyter/base-notebook:latest

RUN mamba install -c conda-forge leafmap geemap mapwidget geopandas localtileserver voila nodejs -y && \
    fix-permissions "${CONDA_DIR}" && \
    fix-permissions "/home/${NB_USER}"

# COPY requirements.txt .
# RUN pip install --no-cache-dir -r requirements.txt

RUN mkdir ./notebooks
COPY /notebooks ./notebooks

COPY run.sh .

ENV PROJ_LIB='/opt/conda/share/proj'

USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}

RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension

EXPOSE 8866

CMD ["/bin/bash", "run.sh"]