From 59313925ddce08cbcadca8605fc5a3c1d5b6d439 Mon Sep 17 00:00:00 2001 From: jwansek Date: Thu, 26 Feb 2026 18:13:08 +0000 Subject: Initial commit --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..90f147c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM reg.reaweb.uk/cron + +RUN apt update -y +RUN apt install -y python3-pip iputils-ping +COPY . /app +WORKDIR /app +RUN pip3 install -r requirements.txt + +RUN echo "*/1 * * * * root python3 /app/pingLogger.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab \ No newline at end of file -- cgit v1.2.3