Files
pinger/Dockerfile
2025-02-19 21:11:59 +00:00

6 lines
148 B
Docker

FROM python:latest
WORKDIR /usr/local/bin
COPY pinger.py .
RUN apt-get update -y && apt-get install -y iputils-ping
CMD ["python","-u","pinger.py"]