Skip to content

Commit 0875be4

Browse files
author
farhoud.m7
committed
fix missing swagger docs
1 parent 91ed397 commit 0875be4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ RUN go mod download
1212
# Copy the source code
1313
COPY . .
1414

15+
# Run swagger
16+
RUN swag init -g main.go
17+
1518
# Build the application
1619
RUN CGO_ENABLED=1 GOOS=linux go build -o main .
1720

0 commit comments

Comments
 (0)