diff --git a/Dockerfile b/Dockerfile index 6f4828c..beeb8d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM debian:bullseye-slim # -RUN apt update && apt install python3 python3-pip iputils-ping -y COPY logpingresult.py /usr/local/bin/ COPY requirements.txt / COPY init.sh / RUN chmod +x /init.sh 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 apt clean CMD ["/init.sh"] \ No newline at end of file