This commit is contained in:
2024-11-05 11:08:28 +01:00
parent 32d7f8a8f5
commit 8ee85912cc
15 changed files with 205 additions and 9 deletions

View File

@@ -1,14 +1,10 @@
FROM python:3.10
# Setze das Arbeitsverzeichnis im Container
WORKDIR /usr/src/app
# Kopiere requirements.txt und installiere die Abhängigkeiten
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Kopiere den restlichen App-Code
COPY . .
# Standardkommando (kann in docker-compose überschrieben werden)
CMD ["python", "server.py"]
CMD ["python", "main.py"]