Debian Codegraph @

Dockerfile

raw
1 FROM golang:1.14-buster AS builder
2 COPY ./ /go/src/github.com/nighttsarina/homeplug_exporter/
3 WORKDIR /go/src/github.com/nighttsarina/homeplug_exporter/
4 RUN make
5
6 FROM scratch
7 COPY --from=builder /go/src/github.com/nighttsarina/homeplug_exporter /go/bin/
8 ENTRYPOINT ["/go/bin/homeplug_exporter"]