Spaces:
Sleeping
Sleeping
Download Dockerfile from Spark-Tech/browser-service: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/spaces/Spark-Tech/browser-service/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Spark-Tech/browser-service/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Spark-Tech/browser-service/resolve/main/Dockerfile
477 Bytes
| # Use the official lightweight Chrome for automation | |
| FROM ghcr.io/browserless/chromium:latest | |
| # Updated Hugging Face specific ports and settings | |
| ENV PORT=7860 | |
| ENV CONCURRENT=10 | |
| ENV MAX_QUEUE_LENGTH=20 | |
| ENV TIMEOUT=600000 | |
| # Note: DEFAULT_BLOCK_ADS and DEFAULT_STEALTH are now ignored by the | |
| # browserless engine and can be safely removed from here. | |
| # SECURITY: Replace this with your own password! | |
| ENV TOKEN=MySecretBrowserToken2025 | |
| # Expose the port HF expects | |
| EXPOSE 7860 | |