Spaces:
Sleeping
Sleeping
| version: "3.9" | |
| services: | |
| backend: | |
| build: | |
| context: ./backend | |
| dockerfile: Dockerfile | |
| ports: | |
| - "8000:8000" | |
| volumes: | |
| - ./backend:/app | |
| - ./ml/models:/app/api/models # mount trained models | |
| environment: | |
| - DEBUG=True | |
| restart: unless-stopped | |
| frontend: | |
| build: | |
| context: ./frontend | |
| dockerfile: Dockerfile | |
| ports: | |
| - "3000:3000" | |
| depends_on: | |
| - backend | |
| environment: | |
| - REACT_APP_API_URL=http://localhost:8000 | |
| restart: unless-stopped | |