mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
19583b9084
* add docker-compose * test.http * make different dockerfile for each component * make different dockerfile for each component * fix versions * remove dedicated docker files * cleanup * cleanup * cleanup
18 lines
389 B
Docker
18 lines
389 B
Docker
FROM golang:1.14-alpine as builder
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers git
|
|
|
|
# next 2 lines helping utilize docker cache
|
|
COPY go.mod go.sum /app/
|
|
RUN cd /app && go mod download
|
|
|
|
ADD . /app
|
|
RUN cd /app && make all
|
|
|
|
FROM alpine:3
|
|
|
|
RUN apk add --no-cache ca-certificates
|
|
COPY --from=builder /app/build/bin/* /usr/local/bin/
|
|
|
|
EXPOSE 8545 8546 8547 30303 30303/udp 8080 9090
|