Implemented the python draft

This commit is contained in:
2025-01-08 14:59:36 +01:00
parent f962dbb31c
commit 8f96346a6b
29 changed files with 350 additions and 86 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Basis-Image für Python
FROM python:slim
# Arbeitsverzeichnis festlegen
WORKDIR /app
# Abhängigkeiten kopieren und installieren
COPY app/requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Anwendungscode kopieren
COPY app/ .
# Port freigeben
EXPOSE 5000
# Startbefehl
CMD ["python", "app.py"]