Files
prometheus-frigate-exporter/Dockerfile
2023-02-12 22:47:45 +11:00

6 lines
287 B
Docker

FROM alpine
RUN apk update && apk add py3-prometheus-client
COPY prometheus_frigate_exporter.py /var/python_scripts/prometheus_frigate_exporter.py
CMD /usr/bin/python3 /var/python_scripts/prometheus_frigate_exporter.py $FRIGATE_STATS_URL
# docker build -t prometheus_frigate_exporter .