This commit is contained in:
2025-02-22 16:30:01 +01:00
parent bef54d17b2
commit 4e321348d7
2 changed files with 3 additions and 3 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# Utilisation d'une image Python officielle
FROM python:3.12
# Définition du répertoire de travail
WORKDIR /app
# Copier tous les fichiers du projet dans le conteneur
COPY . /app
# Installer les dépendances du projet
RUN pip install --no-cache-dir -r requirements.txt
# COMMANDE PAR défaut : Exécuter "main.py"
CMD ["python", "main.py"]