Spaces:
Sleeping
Sleeping
Download docker-compose.local.yml from rg321/detectNanoBananaImage2: direct link, hf CLI and curl.
- Browser
- Download file 769 Bytes
-
https://huggingface.co/spaces/rg321/detectNanoBananaImage2/resolve/main/docker-compose.local.yml
- Command line
-
hf download hf://spaces/rg321/detectNanoBananaImage2/docker-compose.local.yml
-
curl -L -o docker-compose.local.yml https://huggingface.co/spaces/rg321/detectNanoBananaImage2/resolve/main/docker-compose.local.yml
769 Bytes
| version: '3.8' | |
| services: | |
| detectnanobana: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.local | |
| ports: | |
| - "7860:7860" | |
| volumes: | |
| # Mount current directory for live code changes (optional, remove for production-like testing) | |
| - ./app.py:/home/user/app/app.py | |
| - ./features:/home/user/app/features | |
| - ./functions:/home/user/app/functions | |
| - ./configs:/home/user/app/configs | |
| - ./defaults.py:/home/user/app/defaults.py | |
| environment: | |
| - GRADIO_SERVER_NAME=0.0.0.0 | |
| - GRADIO_SERVER_PORT=7860 | |
| # Uncomment below if you have GPU support | |
| # deploy: | |
| # resources: | |
| # reservations: | |
| # devices: | |
| # - driver: nvidia | |
| # count: 1 | |
| # capabilities: [gpu] | |