mirror of
https://github.com/NohamR/PronoteBot.git
synced 2026-01-10 16:28:18 +00:00
first push
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user