Add ping binary
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
meshmqtt:
|
||||
pinger:
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
|
||||
Reference in New Issue
Block a user