From c23347539042fa319ce4a4c765dd4a0b9db76d24 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Fri, 19 Jul 2024 20:25:58 +0530 Subject: [PATCH] trying to fix CI --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5242d9a..ba2f9f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,11 @@ RUN apk --no-cache add git COPY . . ENV GOPRIVATE=codeberg.org/aryak/libmozhi -RUN go mod download +#RUN go mod download RUN go run github.com/swaggo/swag/cmd/swag@latest init --parseDependency RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -o /src/mozhi -FROM alpine:3.16 as bin +FROM alpine:3.16 AS bin WORKDIR /app COPY --from=build /src/mozhi .