update (fix crash)

This commit is contained in:
√(noham)²
2023-12-20 20:39:14 +01:00
parent 578c56d867
commit 3ca9f33989
5 changed files with 139 additions and 130 deletions

View File

@@ -1,14 +1,9 @@
FROM python:3.10-alpine
# Copiez les fichiers nécessaires dans le conteneur
COPY getgrades.py .
# COPY average.txt .
# COPY grades.txt .
COPY requirements.txt .
COPY .env .
# Installez les dépendances
RUN pip install --no-cache-dir -r requirements.txt
# Commande pour exécuter votre programme Python
CMD ["python", "-u", "getgrades.py"]