Spaces:
Sleeping
Sleeping
| FROM python:3.9-slim | |
| # Arbeitsverzeichnis setzen | |
| WORKDIR /app | |
| # Abhängigkeiten installieren | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Den App-Code kopieren | |
| COPY . . | |
| # Port freigeben (Standard für HF Spaces) | |
| EXPOSE 7860 | |
| # Befehl zum Starten der App | |
| CMD ["python", "app.py"] |