1
0
mirror of https://github.com/chylex/Apache-Prometheus-Exporter.git synced 2024-07-19 19:28:47 +02:00
Apache-Prometheus-Exporter/Dockerfile

13 lines
271 B
Docker

FROM rust:alpine as builder
RUN apk add --no-cache musl-dev
WORKDIR /app/
COPY . .
RUN cargo install --path .
FROM alpine
COPY --from=builder /usr/local/cargo/bin/apache_prometheus_exporter /usr/local/bin/apache_prometheus_exporter
CMD ["apache_prometheus_exporter"]