Skip to content

Commit 8dcb125

Browse files
committed
fix. build error
1 parent 06a55c2 commit 8dcb125

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ RUN wget https://github.com/swaggo/swag/releases/download/v1.16.3/swag_1.16.3_Li
66
WORKDIR /app/backend
77
COPY ./ .
88

9-
RUN swag init -g ./cmd/server/main.go --parseDependency --parseInternal -o ./api/swagger
10-
119
RUN go mod tidy
10+
RUN swag init -g ./cmd/server/main.go --parseDependency --parseInternal -o ./api/swagger
1211
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/server ./cmd/server/main.go
1312

1413
ENV TZ=Asia/Seoul

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ require (
4343
gorm.io/driver/postgres v1.5.6
4444
gorm.io/gorm v1.25.7
4545
goyave.dev/goyave/v4 v4.4.11
46+
k8s.io/api v0.26.1
4647
k8s.io/apimachinery v0.26.4
4748
k8s.io/client-go v0.26.1
4849
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448
@@ -132,7 +133,6 @@ require (
132133
gopkg.in/ini.v1 v1.67.0 // indirect
133134
gopkg.in/yaml.v2 v2.4.0 // indirect
134135
gorm.io/driver/mysql v1.5.0 // indirect
135-
k8s.io/api v0.26.1 // indirect
136136
k8s.io/apiextensions-apiserver v0.26.1 // indirect
137137
k8s.io/component-base v0.26.1 // indirect
138138
k8s.io/klog/v2 v2.80.1 // indirect

0 commit comments

Comments
 (0)