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

11 lines
341 B
Docker
Raw Normal View History

2021-09-26 02:16:26 +00:00
FROM golang:1.17.1-bullseye as builder
2021-09-25 19:09:40 +00:00
COPY . /app
WORKDIR /app
2021-09-26 02:16:26 +00:00
RUN apt-get update \
&& apt-get install --yes git build-essential \
2021-09-25 19:09:40 +00:00
&& 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" ]