Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -5
Dockerfile
CHANGED
|
@@ -1,13 +1,14 @@
|
|
| 1 |
# Use the official lightweight Chrome for automation
|
| 2 |
FROM ghcr.io/browserless/chromium:latest
|
| 3 |
|
| 4 |
-
# Hugging Face specific ports and settings
|
| 5 |
ENV PORT=7860
|
| 6 |
-
ENV
|
| 7 |
ENV MAX_QUEUE_LENGTH=20
|
| 8 |
-
ENV
|
| 9 |
-
|
| 10 |
-
|
|
|
|
| 11 |
|
| 12 |
# SECURITY: Replace this with your own password!
|
| 13 |
ENV TOKEN=MySecretBrowserToken2025
|
|
|
|
| 1 |
# Use the official lightweight Chrome for automation
|
| 2 |
FROM ghcr.io/browserless/chromium:latest
|
| 3 |
|
| 4 |
+
# Updated Hugging Face specific ports and settings
|
| 5 |
ENV PORT=7860
|
| 6 |
+
ENV CONCURRENT=10
|
| 7 |
ENV MAX_QUEUE_LENGTH=20
|
| 8 |
+
ENV TIMEOUT=600000
|
| 9 |
+
|
| 10 |
+
# Note: DEFAULT_BLOCK_ADS and DEFAULT_STEALTH are now ignored by the
|
| 11 |
+
# browserless engine and can be safely removed from here.
|
| 12 |
|
| 13 |
# SECURITY: Replace this with your own password!
|
| 14 |
ENV TOKEN=MySecretBrowserToken2025
|