From 3b8a1895076e598631294b03cecd33e4095d699e Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 7 May 2023 16:42:21 -0500 Subject: [PATCH] update dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]