Refine location
This commit is contained in:
14
dockerfiles/dataExporter/Dockerfile
Normal file
14
dockerfiles/dataExporter/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user