browser-service / Dockerfile
TheSolomon's picture
Update Dockerfile
d10faa6 verified
Raw History Blame Contribute Delete
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