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

@@ -2,15 +2,8 @@ FROM python:3.11-slim
WORKDIR /app
# Dependencies installieren
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Source-Code kopieren
COPY src/ ./src
# Port öffnen
EXPOSE 8000
# FastAPI starten (Uvicorn)
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]
# Quellcode mounten (Hot Reload)
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]