11 lines
341 B
Docker
11 lines
341 B
Docker
FROM golang:1.17.1-bullseye as builder
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN apt-get update \
|
|
&& apt-get install --yes git build-essential \
|
|
&& 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" ] |