Dateien nach "/" hochladen

This commit is contained in:
2024-09-02 10:04:38 +00:00
parent 06d9b68b22
commit 8c982567c0
5 changed files with 914 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# Dockerfile
# Verwende ein offizielles Python-Image als Basis
FROM python:3.10-slim
# Setze Arbeitsverzeichnis
WORKDIR /app
# Kopiere die requirements.txt und installiere die Python-Abhängigkeiten
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Kopiere den Rest des Anwendungsquellcodes
COPY . .
# Lade die Umgebungsvariablen aus der .env Datei
COPY .env .env
# Starte das Python-Skript
CMD ["python", "bot.py"]