aubm / docker-compose.yml
cesjavi's picture
Update Hugging Face Space
0cb1aa7
raw
history blame contribute delete
543 Bytes
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
env_file:
- ./backend/.env
environment:
- ALLOWED_ORIGINS=http://localhost:80,http://localhost:5173
volumes:
- ./backend/outputs:/app/outputs
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "80:80"
environment:
- VITE_API_URL=http://localhost:8000
depends_on:
- backend
restart: unless-stopped