Download docker-compose.yml from Sparkonix/email-classification-model: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/Sparkonix/email-classification-model/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Sparkonix/email-classification-model/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Sparkonix/email-classification-model/resolve/main/docker-compose.yml
380 Bytes
| version: '3' | |
| services: | |
| api: | |
| build: . | |
| ports: | |
| - "8000:7860" | |
| volumes: | |
| - .:/app | |
| - sqlite_data:/data # Mount a volume for persistent SQLite data | |
| environment: | |
| - PORT=7860 | |
| - HF_HOME=/app/.cache/huggingface | |
| - DATABASE_PATH=/data/emails.db | |
| restart: unless-stopped | |
| volumes: | |
| sqlite_data: # Define the volume for SQLite database |