inital commit

This commit is contained in:
Philipp Wagner
2023-08-01 03:13:50 +02:00
commit ef43e9dcf6
8 changed files with 296 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
# Verwende das offizielle Python-Image als Basis
FROM python:3.8-slim
# Setze das Arbeitsverzeichnis innerhalb des Containers
WORKDIR /app
# Installiere die erforderlichen Abhängigkeiten
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Kopiere die Anwendungsdateien in den Container
COPY . .
# Starte die Anwendung, wenn der Container gestartet wird
CMD ["python", "app.py"]