1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
helium-blockchain-exporter/Dockerfile

10 lines
302 B
Docker

FROM golang:1.17-alpine as builder
COPY . /app
WORKDIR /app
RUN apk add git make build-base \
&& make dist
FROM gcr.io/distroless/base-debian10
COPY --from=builder /app/bin/helium-blockchain-exporter /usr/bin/helium-blockchain-exporter
EXPOSE 9865
ENTRYPOINT [ "/usr/bin/helium-blockchain-exporter" ]