mirror of
https://github.com/Ladebeze66/ft_linear_regression.git
synced 2025-12-13 04:36:51 +01:00
14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
# 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"] |