work #4
@@ -3,7 +3,7 @@ FROM debian:trixie-slim
|
|||||||
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 apt update && apt install python3 python3-pip iputils-ping -y && pip3 install -r /requirements.txt --break-system-packages && apt clean
|
RUN apt update && apt install python3 python3-pip iputils-ping -y && pip3 install -r /requirements.txt --break-system-packages && apt clean
|
||||||
COPY logpingresult.py /usr/local/bin/
|
COPY logpingresult.py /usr/local/bin/
|
||||||
|
RUN chmod +x /usr/local/bin/logpingresult.py
|
||||||
CMD ["/init.sh"]
|
CMD ["/init.sh"]
|
Reference in New Issue
Block a user