Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,4 +11,4 @@ COPY kasa-exporter.py exporter.py

EXPOSE 9233

CMD ["python", "exporter.py"]
CMD ["python", "exporter.py"]
Loading