diff --git a/Dockerfile b/Dockerfile index 00700591f..b04e66093 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ USER nobody EXPOSE 9090 VOLUME [ "/prometheus" ] WORKDIR /prometheus -ENTRYPOINT [ "/bin/prometheus" ] -CMD [ "--config.file=/etc/prometheus/prometheus.yml", \ +ENTRYPOINT [ "/bin/prometheus", \ "--storage.tsdb.path=/prometheus", \ - "--web.console.libraries=/usr/share/prometheus/console_libraries", \ - "--web.console.templates=/usr/share/prometheus/consoles" ] + "--web.console.libraries=/etc/prometheus/console_libraries", \ + "--web.console.templates=/etc/prometheus/consoles", \ + "--config.file=/etc/prometheus/prometheus.yml" ]