15 lines
361 B
Docker
15 lines
361 B
Docker
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"]
|