FROM jupyter/scipy-notebook:latest | |
RUN mamba install -c conda-forge localtileserver osmnx -y && \ | |
pip install -U solara solara-enterprise[auth] ipyreact && \ | |
fix-permissions "${CONDA_DIR}" && \ | |
fix-permissions "/home/${NB_USER}" | |
COPY app.py app.py | |
ENV PROJ_LIB='/opt/conda/share/proj' | |
USER root | |
RUN chown -R ${NB_UID} ${HOME} | |
USER ${NB_USER} | |
EXPOSE 8765 | |
CMD ["solara", "run", "app.py", "--host=0.0.0.0", "--port", "7860"] |