mirror of
https://github.com/Ladebeze66/ft_linear_regression.git
synced 2026-11-09 13:47:18 +01:00
Docker
This commit is contained in:
14
Dokerfile
Normal file
14
Dokerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user