Spaces:
Sleeping
Sleeping
File size: 590 Bytes
1e11bce | 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 26 27 28 29 30 | services:
api:
build:
context: .
dockerfile: Dockerfile
container_name: dynamic-pricing-api
env_file:
- .env.example
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./models:/app/models
restart: unless-stopped
dashboard:
build:
context: .
dockerfile: Dockerfile.streamlit
container_name: dynamic-pricing-dashboard
env_file:
- .env.example
ports:
- "8501:8501"
volumes:
- ./data:/app/data
- ./models:/app/models
depends_on:
- api
restart: unless-stopped
|