Refine location

This commit is contained in:
2025-02-05 13:59:59 +08:00
parent fc0e89ee41
commit 1edf0279c5
15 changed files with 816 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
FROM python:3.13
RUN apt-get update && apt-get upgrade -y && apt-get install -y lm-sensors smartmontools && pip install \
python-kasa \
rich \
schedule \
prometheus-client
WORKDIR /app
COPY code/prometheus_data_exporter.py ./
COPY code/awinlib ./awinlib
CMD []
ENTRYPOINT ["python3", "/app/prometheus_data_exporter.py", "-f", "/app/.secret"]