try
continuous-integration/drone/push Build is passing Details

master
Enzo 2 years ago
parent 52c4e583d4
commit 347c54dc3a

@ -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

@ -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"

Loading…
Cancel
Save