erigon-pulse/Dockerfile

20 lines
470 B
Docker
Raw Normal View History

2021-03-19 09:32:52 +00:00
FROM golang:1.16-alpine3.13 as builder
2020-10-28 03:18:10 +00:00
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++
2020-08-21 12:38:11 +00:00
WORKDIR /app
RUN make erigon rpcdaemon integration sentry
2017-09-05 09:16:59 +00:00
2021-03-19 09:32:52 +00:00
FROM alpine:3.13
RUN mkdir -p /var/lib/erigon
VOLUME /var/lib/erigon
RUN apk add --no-cache ca-certificates libgcc libstdc++ tzdata
COPY --from=builder /app/build/bin/* /usr/local/bin/
WORKDIR /var/lib/erigon
EXPOSE 8545 8546 30303 30303/udp 30304 30304/udp 8080 9090 6060