diff --git a/Dockerfile b/Dockerfile index 046d82b..b4798b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ WORKDIR /app COPY . . # Run swag init to generate Swagger documentation -RUN go install && go install github.com/swaggo/swag/cmd/swag@latest && swag init +RUN go install && go install github.com/swaggo/swag/cmd/swag@v1.8.12 && swag init # Build the Go application inside the container RUN go build -o main . @@ -20,4 +20,4 @@ RUN go build -o main . EXPOSE 8080 # Run the application -CMD ["./main"] \ No newline at end of file +CMD ["./main"]