Download Dockerfile from ITOCJ/PdfReader: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/ITOCJ/PdfReader/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ITOCJ/PdfReader/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ITOCJ/PdfReader/resolve/main/Dockerfile
438 Bytes
| 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"] |