Spaces:
Sleeping
Sleeping
Download docker-compose.yml from danielle2035/Intel_classification: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/spaces/danielle2035/Intel_classification/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/danielle2035/Intel_classification/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/danielle2035/Intel_classification/resolve/main/docker-compose.yml
530 Bytes
| 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 | |