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