diff --git a/Dockerfile b/Dockerfile index 163fe52..b519688 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 e219d3d..0040d64 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