Add ping binary
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
FROM python:latest
|
FROM python:latest
|
||||||
WORKDIR /usr/local/bin
|
WORKDIR /usr/local/bin
|
||||||
COPY pinger.py .
|
COPY pinger.py .
|
||||||
|
RUN apt-get update -y && apt-get install -y iputils-ping
|
||||||
CMD ["python","-u","pinger.py"]
|
CMD ["python","-u","pinger.py"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
meshmqtt:
|
pinger:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|||||||
Reference in New Issue
Block a user