diff --git a/Dockerfile b/Dockerfile index fc88161..7989695 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.11-slim +LABEL org.opencontainers.image.description="Prometheus exporter for TP-Link Kasa smart plugs and power strips that exposes real-time power consumption, voltage, current, and energy metrics" + WORKDIR /app # Install python-kasa with speedups for optimized JSON parsing @@ -9,4 +11,4 @@ COPY kasa-exporter.py exporter.py EXPOSE 9233 -CMD ["python", "exporter.py"] +CMD ["python", "exporter.py"]