mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Fix Dockerfile for new repo layout
This commit is contained in:
parent
7c3bb145e1
commit
dde4209144
|
@ -4,7 +4,9 @@ EXPOSE 9090
|
||||||
VOLUME [ "/prometheus" ]
|
VOLUME [ "/prometheus" ]
|
||||||
WORKDIR /prometheus
|
WORKDIR /prometheus
|
||||||
|
|
||||||
ENTRYPOINT [ "/prometheus-src/.build/package/run_prometheus.sh" ]
|
ENTRYPOINT [ "/prometheus-src/prometheus", "-config.file=/prometheus.conf" ]
|
||||||
RUN apt-get update && apt-get install -yq make git curl sudo mercurial vim-common
|
RUN apt-get update && apt-get install -yq make git curl sudo mercurial vim-common
|
||||||
ADD . /prometheus-src
|
ADD . /prometheus-src
|
||||||
RUN cd /prometheus-src && make tools binary
|
RUN cd /prometheus-src && make tools binary
|
||||||
|
ADD ./documentation/examples/prometheus.conf /prometheus.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue