This commit is contained in:
2022-06-02 19:15:59 +00:00
parent 7386ea1274
commit caae472169
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
FROM prom/node-exporter:latest
ENV NODE_ID=none
USER root
COPY entrypoint.sh /etc/node-exporter/
ENTRYPOINT ["sh", "/etc/node-exporter/entrypoint.sh"]
ENTRYPOINT ["/etc/node-exporter/entrypoint.sh"]
CMD ["/bin/node_exporter"]