File size: 848 Bytes
4dbe5d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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