Spaces:
Sleeping
Sleeping
# Nutze ein Basis-Python-Image | |
FROM python:3.10-slim | |
# Arbeitsverzeichnis festlegen | |
WORKDIR /app | |
# Anforderungen hinzufügen | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
# App-Code hinzufügen | |
COPY . . | |
# Container-Port und Startbefehl | |
EXPOSE 8080 | |
CMD ["python", "app.py"] | |