Add ping binary

This commit is contained in:
2025-02-19 21:11:59 +00:00
parent 2334239ede
commit 3b25d73c6b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
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"]

View File

@@ -1,7 +1,7 @@
version: '3.8'
services:
meshmqtt:
pinger:
restart: unless-stopped
build:
context: .