From 9f56dbda3a8375151b11c46332e5d44b5f6b0d06 Mon Sep 17 00:00:00 2001 From: mvadu Date: Sat, 8 Aug 2026 04:52:21 +0000 Subject: [PATCH] add a label to docker image --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"]