diff --git a/Dockerfile b/Dockerfile index 7b5644ff2..672d64c1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,9 @@ EXPOSE 9090 VOLUME [ "/prometheus" ] WORKDIR /prometheus -ENTRYPOINT [ "/prometheus-src/.build/package/run_prometheus.sh" ] +ENTRYPOINT [ "/prometheus-src/prometheus" ] +CMD [ "-config.file=/prometheus.conf" ] RUN apt-get update && apt-get install -yq make git curl sudo mercurial vim-common ADD . /prometheus-src RUN cd /prometheus-src && make tools binary +ADD ./documentation/examples/prometheus.conf /prometheus.conf