fix docker, add base routing, header + drawer

This commit is contained in:
Marcus Almert
2025-10-28 17:33:39 +01:00
parent dbf54f59ef
commit b0a42de301
18 changed files with 1461 additions and 214 deletions

View File

@@ -4,20 +4,20 @@ services:
backend:
build:
context: ./backend
container_name: fastapi-backend
dockerfile: ./backend/Dockerfile
ports:
- "8000:8000"
volumes:
- ./backend/src:/app/src:Z
environment:
- PYTHONUNBUFFERED=1
command: uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload
- ./backend:/app
frontend:
build:
context: ./frontend
container_name: react-frontend
ports:
- "3000:80"
depends_on:
- backend
- "5173:5173"
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- CHOKIDAR_USEPOLLING=true
command: ["npm", "run", "dev", "--", "--host", "0.0.0.0"]