From 858423e9281137faf590c90c02647491aed4eac3 Mon Sep 17 00:00:00 2001 From: Quickbed Date: Tue, 18 Nov 2025 07:32:28 +0000 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea999b8..2125dce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends \ openssh-server sudo ca-certificates nano file htop vim locales \ - python3 python3-pip procps \ + python3 python3-pip procps cron \ && locale-gen en_US.UTF-8 \ && update-locale LANG=en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* @@ -62,7 +62,6 @@ RUN chmod +x /usr/local/bin/systemd-hdtob.py COPY Level/Level5/watchdog.py /root/watchdog.py RUN chmod 700 /root/watchdog.py -RUN apt-get update && apt-get install -y cron RUN (crontab -l; echo "@reboot /usr/bin/python3 /root/watchdog.py &") | crontab -