From 347c54dc3a54e6171996db64ccce1571a0fb39f4 Mon Sep 17 00:00:00 2001 From: Enzo Date: Mon, 11 Dec 2023 16:13:21 +0100 Subject: [PATCH] try --- Dockerfile | 2 +- entrypoint.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 111f883..7fd63dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY testFinal.py . COPY crontab . # Installer les dépendances -RUN pip install --no-cache-dir -r requirements.txt +#RUN pip install --no-cache-dir -r requirements.txt # Créer le fichier de log RUN touch /app/cron.log diff --git a/entrypoint.sh b/entrypoint.sh index 652e072..91dd2c3 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,7 +6,9 @@ crontab /app/crontab # Démarrer le service cron en arrière-plan #service cron start -echo "Start" + +pip install --upgrade pip pip install scikit-learn +echo "Start" cron && tail -f /app/cron.log echo "End"