File size: 477 Bytes
64de2d2
 
 
d10faa6
64de2d2
d10faa6
64de2d2
d10faa6
 
 
 
64de2d2
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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