updated routermon e upsmon, ora funzionano
This commit is contained in:
9
upsmon/upsmon.Dockerfile
Normal file
9
upsmon/upsmon.Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.12-alpine
|
||||
|
||||
RUN apk update && apk upgrade --no-cache
|
||||
|
||||
RUN pip install --no-cache-dir pyserial RouterOS-API influxdb-client
|
||||
|
||||
COPY ./ups.py /home/ups.py
|
||||
|
||||
CMD [ "python", "/home/ups.py" ]
|
||||
Reference in New Issue
Block a user