Testversion 1

This commit is contained in:
2026-02-19 19:03:20 +00:00
parent 879ebd53b0
commit 6353ba4707
18 changed files with 734 additions and 58 deletions

View File

@@ -2,16 +2,12 @@ FROM python:3.12-slim
WORKDIR /app
# uv installieren
RUN pip install uv
# Nur dependency files zuerst kopieren (Docker Cache!)
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev
# Rest kopieren
COPY app.py .
COPY . .
EXPOSE 5000
CMD ["uv", "run", "app.py"]
EXPOSE 8000
CMD ["uv", "run", "gunicorn", "-b", "0.0.0.0:8000", "app:app"]