Add metrics config to container

This commit is contained in:
Vitaliy Skrypnyk
2021-09-01 16:20:45 +03:00
parent a2762faad2
commit 0d0d694f20

View File

@@ -7,5 +7,6 @@ FROM python:3.8-alpine AS build-image
COPY --from=dependencies /root/.local /root/.local COPY --from=dependencies /root/.local /root/.local
COPY value_normalizer.py keentic_influxdb_exporter.py influxdb_writter.py keenetic_api.py /home/ COPY value_normalizer.py keentic_influxdb_exporter.py influxdb_writter.py keenetic_api.py /home/
COPY config/metrics.json /home/config/metrics.json
CMD [ "python", "-u", "/home/keentic_influxdb_exporter.py" ] CMD [ "python", "-u", "/home/keentic_influxdb_exporter.py" ]