Download Dockerfile from macra/pdf: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/macra/pdf/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/macra/pdf/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/macra/pdf/resolve/main/Dockerfile
263 Bytes
| # Use the official Stirling-PDF image | |
| FROM stirlingtools/stirling-pdf:latest | |
| # Set the port to 7860 (Hugging Face default) | |
| ENV SERVER_PORT=7860 | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Create a writable directory for configs | |
| RUN mkdir -p /configs && chmod 777 /configs | |