Skip to content

Commit 6e1c807

Browse files
committed
Run go mod tidy
1 parent 56dc662 commit 6e1c807

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ RUN java -cp /openapi/bin/openapi-native-mock-server.jar:/openapi/bin/openapi-ge
1212
FROM golang:1.22-alpine3.19
1313
COPY --from=0 /openapi/go-server ./go-server
1414

15+
WORKDIR /go/go-server
16+
RUN go mod tidy
17+
1518
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /build .
1619

1720
# stage 2: build minimal image

0 commit comments

Comments
 (0)