From 7c68e102ef62e96017f7cf24e45d98ddb1989c50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:25:02 -0300 Subject: [PATCH] fix: copy client/go.mod to builder --- Dockerfile | 3 ++- Dockerfile.dockerignore | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 163fe522..b5196888 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ WORKDIR /app # Copy go.mod and go.sum files COPY go.mod go.sum ./ +COPY client/go.mod ./client/ # Download all dependencies. Dependencies will be cached if the go.mod and go.sum files are not changed RUN go mod download @@ -32,4 +33,4 @@ COPY --from=builder /app/resources/ /app/resources/ EXPOSE 4242 7300 # Run app -ENTRYPOINT ["./eigenda-proxy"] \ No newline at end of file +ENTRYPOINT ["./eigenda-proxy"] diff --git a/Dockerfile.dockerignore b/Dockerfile.dockerignore index e219d3d2..0040d648 100644 --- a/Dockerfile.dockerignore +++ b/Dockerfile.dockerignore @@ -3,6 +3,7 @@ # Re-include necessary files only !go.mod +!client/go.mod !go.sum !*/**/*.go !Makefile