Files
edelweiss/upsmon/upsmon.Dockerfile

10 lines
199 B
Docker

FROM python:3.12-alpine
RUN apk update && apk upgrade --no-cache
RUN pip install --no-cache-dir pyserial RouterOS-API influxdb3-python
COPY ./ups.py /home/ups.py
CMD [ "python", "/home/ups.py" ]