# Basis-Image FROM python:3.11-slim # Arbeitsverzeichnis im Container WORKDIR /app # Abhängigkeiten kopieren und installieren COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt \ && pip install --no-cache-dir gunicorn # App-Code kopieren COPY . . # Exponiere Port 5000 EXPOSE 5000 # Starte die App mit Gunicorn CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]