From 79db9525e063216a2c36b8f6a4563ad0835e7027 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Thu, 23 Nov 2023 22:25:39 +0600 Subject: [PATCH] :whale: Added SSL certificates for https client requests support --- build/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index 601b16f..bb104e6 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -14,6 +14,7 @@ COPY internal ./internal/ COPY vendor ./vendor/ COPY web ./web/ +RUN apk --no-cache add ca-certificates RUN go build -o ./auth # Run @@ -21,6 +22,7 @@ FROM scratch WORKDIR / +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /app/auth /auth EXPOSE 3000