Download Dockerfile from getzero11/whatsapp: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/getzero11/whatsapp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/getzero11/whatsapp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/getzero11/whatsapp/resolve/main/Dockerfile
1.06 kB
| FROM evoapicloud/evolution-api:v2.3.6 | |
| # Hugging Face networking | |
| ENV SERVER_HOST=0.0.0.0 | |
| ENV SERVER_PORT=7860 | |
| ENV SERVER_URL= | |
| # Auth | |
| ENV AUTH_MODE=apikey | |
| ENV AUTH_API_KEY=Your_Super_Secret_Token_Here | |
| # Database (Supabase – DIRECT connection) | |
| ENV DATABASE_ENABLED=true | |
| ENV DATABASE_PROVIDER=postgresql | |
| ENV DATABASE_CONNECTION_URI="postgresql://postgres.DB-NAME:PASSWORD@aws-1-ap-northeast-1.pooler.supabase.com:5432/postgres?connection_limit=1" | |
| ENV DIRECT_URL="postgresql://postgres.DB-NAME:PASSWORD@aws-1-ap-northeast-1.pooler.supabase.com:5432/postgres?connection_limit=1" | |
| # WhatsApp session (CRITICAL) | |
| ENV WEB_VERSION= | |
| ENV CONFIG_SESSION_PHONE_VERSION= | |
| ENV CONFIG_SESSION_PHONE_CLIENT= | |
| ENV CONFIG_SESSION_AUTO_RECONNECT=false | |
| ENV CONFIG_SESSION_PAIRING_CODE=true | |
| ENV CONFIG_SESSION_QR_TIMEOUT=60000 | |
| # Chromium fixes for HF | |
| ENV CHROME_ARGS="--no-sandbox --disable-setuid-sandbox --disable-dev-shm-usage --disable-gpu --single-process" | |
| # Performance | |
| ENV CACHE_LOCAL_ENABLED=true | |
| ENV CACHE_REDIS_ENABLED=false | |
| ENV DATABASE_CONNECTION_MAX_POOL_SIZE=1 | |