splicing-predictor / docker-compose.yml
sachin1801
Update ports for Hugging Face Spaces compatibility (7860)
c69ba47
raw
history blame contribute delete
457 Bytes
services:
webapp:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:7860" # Map container port 7860 to localhost:8000
volumes:
- ./webapp:/app/webapp # Code mount for development
environment:
- DEBUG=true
healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:7860/api/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s