From 2695127643ffa4e95b84c8cf3742983d850482d2 Mon Sep 17 00:00:00 2001 From: riccardo <106812074+riccardo-gnosis@users.noreply.github.com> Date: Thu, 29 Aug 2024 17:02:46 +0200 Subject: [PATCH] update --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1ca4646..ffde9bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,12 @@ FROM golang:1.21-alpine as builder RUN apk add --update git gcc g++ openssh-client make WORKDIR /app COPY go.mod go.sum ./ -RUN make dependencies -RUN make build +COPY go-relay-client/ go-relay-client/ +RUN go mod download +COPY . . +RUN go get +RUN go build -o ./build/goteth + FROM alpine:latest RUN apk --no-cache add ca-certificates