🐳 Added SSL certificates for https client requests support

This commit is contained in:
Maxim Lebedev 2023-11-23 22:25:39 +06:00
parent d3e2ec81e4
commit 79db9525e0
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 2 additions and 0 deletions

View File

@ -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