chainlink_exporter/Dockerfile

13 lines
167 B
Docker

FROM golang:stretch as builder
COPY . /opt
WORKDIR /opt
RUN make build
FROM scratch
COPY --from=builder /opt/bin/chainlink_exporter /
CMD ["/chainlink_exporter"]