solara-geemap / Dockerfile
iamsuman's picture
install upywidgets
25059eb
raw
history blame
541 Bytes
FROM jupyter/base-notebook:latest
RUN mamba install -c conda-forge leafmap geopandas localtileserver -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN conda install "jupyterlab>=3" "ipywidgets>=7.6" -c conda-forge -y
RUN mkdir ./pages
COPY /pages ./pages
COPY /data ./data
ENV PROJ_LIB='/opt/conda/share/proj'
USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
EXPOSE 8765
CMD ["solara", "run", "./pages", "--host=0.0.0.0"]