Spaces:
Runtime error
Runtime error
Download Dockerfile from CognitiveScience/solara-maxar: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/CognitiveScience/solara-maxar/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CognitiveScience/solara-maxar/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CognitiveScience/solara-maxar/resolve/main/Dockerfile
450 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 mkdir ./pages | |
| COPY /pages ./pages | |
| 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"] | |