initial commit
Some checks failed
/ Plan (push) Failing after 15s

This commit is contained in:
2024-11-26 13:22:46 -06:00
commit a1e168f345
8 changed files with 138 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM debian:bullseye-slim
#
COPY ookla_speedtest_cli.list /etc/apt/sources.list.d/
RUN apt update && apt install python3 python3-pip iputils-ping speedtest -y
COPY logspeedtest.py /usr/local/bin/
COPY requirements.txt /
COPY init.sh /
RUN chmod +x /init.sh
RUN chmod +x /usr/local/bin/logspeedtest.py
RUN pip3 install -r /requirements.txt
RUN apt clean
CMD ["/init.sh"]