intent-classification / docker-compose.yml
khanarham's picture
Upload folder using huggingface_hub
9207866 verified
Raw History Blame Contribute Delete
435 Bytes
version: '3.8'
services:
intent-classifier:
build:
context: .
dockerfile: Dockerfile
container_name: intent-classification-api
ports:
- "8000:8000"
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s