Skip to content

Commit 1d874e8

Browse files
committed
fix(docker): copy gen/ before go mod download
The go.mod replace directive points to ./gen/go which must exist for go mod download to resolve the local module.
1 parent 1b3bdc3 commit 1d874e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV GOPROXY=${GOPROXY}
88
WORKDIR /src
99

1010
COPY go.mod go.sum ./
11+
COPY gen/ ./gen/
1112
RUN go mod download
1213

1314
COPY . .

0 commit comments

Comments
 (0)