Compare commits

..

No commits in common. "a81b56eaf7b393bd4e94c0607c88174c8193e28b" and "f1777d2d19616efa016c27a26d74f4efe3a532ee" have entirely different histories.

View File

@ -1,11 +1,11 @@
FROM debian:bullseye-slim FROM debian:bullseye-slim
# #
RUN apt update && apt install python3 python3-pip iputils-ping -y
COPY logpingresult.py /usr/local/bin/ COPY logpingresult.py /usr/local/bin/
COPY requirements.txt / COPY requirements.txt /
COPY init.sh / COPY init.sh /
RUN chmod +x /init.sh RUN chmod +x /init.sh
RUN chmod +x /usr/local/bin/logpingresult.py RUN chmod +x /usr/local/bin/logpingresult.py
RUN apt update && apt install python3 python3-pip iputils-ping -y
RUN pip3 install -r /requirements.txt RUN pip3 install -r /requirements.txt
RUN apt clean RUN apt clean
CMD ["/init.sh"] CMD ["/init.sh"]