updating dockerfiles

This commit is contained in:
lza_menace
2023-10-10 20:06:24 -07:00
parent 808b57fd14
commit 4650866877
3 changed files with 1 additions and 1 deletions

10
dockerfiles/exporter Normal file
View File

@@ -0,0 +1,10 @@
FROM golang:bullseye as OG
# Install exporter from Github
RUN go install github.com/cirocosta/monero-exporter/cmd/monero-exporter@master
# Copy installed binary to fresh Ubuntu image
FROM ubuntu:22.04
COPY --from=OG /go/bin/monero-exporter /usr/local/bin/monero-exporter
ENTRYPOINT [ "monero-exporter" ]