services: backend: build: context: . dockerfile: backend/Dockerfile ports: - "8000:8000" # Ensure the container has access to the environment variables env_file: - ./backend/.env # Optional: Mount the SQLite DB so changes persist volumes: - ./middleware/wafer_control.db:/app/middleware/wafer_control.db frontend: build: context: ./frontend dockerfile: Dockerfile ports: # Map the Nginx internal port 80 to 5173 to match the dev environment - "5173:80" depends_on: - backend