App / compose.yaml
LinhKL2002's picture
Upload folder using huggingface_hub
4dbe5d1 verified
services:
python-app:
build:
context: .
dockerfile: Dockerfile
container_name: python-app
restart: unless-stopped
init: true
# env_file: ./.env # Uncomment if .env file exists
ports:
- "7860:7860" # Gradio default port, exposed in Dockerfile
# If you need to persist data, add volumes here
# volumes:
# - ./models:/app/models # Uncomment if you want to persist models
# - ./results:/app/results # Uncomment if you want to persist results
# Add more volumes as needed for persistent data
# networks: [app-net] # Uncomment if you add more services/networks
# No external services (databases, caches, etc.) detected in the project structure or Dockerfile.
# If you add such dependencies, define them here and add to networks.
# networks:
# app-net:
# driver: bridge