CA-Foundation / docker-compose.yml
“vinit5112”
update push error
298982e
raw
history blame
552 Bytes
version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
image: ca-study-assistant-backend
container_name: backend-container
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
image: ca-study-assistant-frontend
container_name: frontend-container
ports:
- "7860:80" # Expose port 80 to the host (Hugging Face Spaces)
restart: unless-stopped
depends_on:
- backend # Ensures the backend starts before the frontend