Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 9e1b746

Browse files
authored
fix: copy client/go.mod to builder in Dockerfile (#211)
fix: copy client/go.mod to builder
1 parent 0bfc81f commit 9e1b746

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ WORKDIR /app
99

1010
# Copy go.mod and go.sum files
1111
COPY go.mod go.sum ./
12+
COPY client/go.mod ./client/
1213

1314
# Download all dependencies. Dependencies will be cached if the go.mod and go.sum files are not changed
1415
RUN go mod download
@@ -32,4 +33,4 @@ COPY --from=builder /app/resources/ /app/resources/
3233
EXPOSE 4242 7300
3334

3435
# Run app
35-
ENTRYPOINT ["./eigenda-proxy"]
36+
ENTRYPOINT ["./eigenda-proxy"]

Dockerfile.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# Re-include necessary files only
55
!go.mod
6+
!client/go.mod
67
!go.sum
78
!*/**/*.go
89
!Makefile

0 commit comments

Comments
 (0)