Initial commit

This commit is contained in:
2025-03-17 19:57:41 +01:00
commit 5a2806c1cd
7 changed files with 530 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# Python 3.11 als Basis-Image
FROM python:3.11-slim
# Arbeitsverzeichnis setzen
WORKDIR /app
# Kopiere requirements.txt
COPY requirements.txt .
# Installiere Abhängigkeiten
RUN pip install --no-cache-dir -r requirements.txt
# Kopiere den Anwendungscode
COPY . .
# Exponiere Port 5000
EXPOSE 5000
# Setze Umgebungsvariablen
ENV FLASK_APP=app.py
ENV FLASK_ENV=production
# Starte die Anwendung
CMD ["flask", "run", "--host=0.0.0.0"]