Spaces:
Runtime error
Runtime error
File size: 650 Bytes
587271e c172a0b 2459794 c140c33 826c1e4 587271e c140c33 587271e c140c33 |
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 |
# This Dockerfile was derived from giswqs's solara-template Dockerfile
# link: https://huggingface.co/spaces/giswqs/solara-template/tree/main
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 mkdir ./toy_app
COPY /toy_app ./toy_app
ENV PROJ_LIB='/opt/conda/share/proj'
ENV PYTHONPATH "${PYTHONPATH}:/toy_app/src"
USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
EXPOSE 8765
CMD ["solara", "run", "./toy_app/pages", "--host=0.0.0.0"]
|