Skip to content

Commit 4e7a870

Browse files
authored
Update Dockerfile.prom-exporter
1 parent 45db97b commit 4e7a870

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.prom-exporter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##################
2-
# -- exporter -- #
2+
# -- builder -- #
33
##################
4-
FROM docker.io/golang:1.23-alpine AS exporter
4+
FROM docker.io/golang:1.23-alpine AS builder
55

66
RUN GO111MODULE=on go install github.com/cirocosta/monero-exporter/cmd/monero-exporter@cf21000
77

@@ -10,7 +10,7 @@ RUN GO111MODULE=on go install github.com/cirocosta/monero-exporter/cmd/monero-ex
1010
##################
1111
FROM docker.io/alpine:3 AS runner
1212

13-
COPY --from=exporter /go/bin/monero-exporter /usr/local/bin/monero-exporter
13+
COPY --from=builder /go/bin/monero-exporter /usr/local/bin/monero-exporter
1414

1515
EXPOSE 9000
1616

0 commit comments

Comments
 (0)