Skip to content

Commit

Permalink
Fix: use actual fork of node-exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Jul 26, 2024
1 parent 2d3ae22 commit 9b18dcd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ARG BASE_ALGORAND_VERSION="3.25.0"
FROM algorand/algod:${BASE_ALGORAND_VERSION}-stable AS algod
FROM algorand/stable:${BASE_ALGORAND_VERSION} AS algorand

FROM golang:1.22 AS builder
Expand All @@ -18,10 +17,10 @@ ENV VOINETWORK_CONFIGURATION="${VOINETWORK_CONFIGURATION}"

HEALTHCHECK --interval=5s --timeout=10s --retries=3 --start-period=10s CMD ["/node/bin/algodhealth"]

COPY --from=algod --chown=0:0 /node/bin/algod /node/bin/algod
COPY --from=algod --chown=0:0 /node/bin/goal /node/bin/goal
COPY --from=algorand --chown=0:0 /root/node/algod /node/bin/algod
COPY --from=algorand --chown=0:0 /root/node/goal /node/bin/goal
COPY --from=algorand --chown=0:0 /root/node/node_exporter /node/bin/node_exporter
COPY --from=builder /build/ /node/bin/
COPY configuration /algod/configuration

CMD ["/node/bin/start-node"]
CMD ["/node/bin/start-metrics"]

0 comments on commit 9b18dcd

Please sign in to comment.