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]