brain-tumor-classification / docker-compose.yml
momenalhamza's picture
Deploy brain-tumor-classification to HF Spaces
dda557a verified
Raw
History Blame Contribute Delete
493 Bytes
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: brain-tumor-backend
ports:
- "8000:8000"
volumes:
- ./model/saved:/app/model/saved:ro
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: brain-tumor-frontend
ports:
- "3000:80"
depends_on:
- backend
restart: unless-stopped