🐳 Added SSL certificates for https client requests support
This commit is contained in:
parent
d3e2ec81e4
commit
79db9525e0
|
@ -14,6 +14,7 @@ COPY internal ./internal/
|
||||||
COPY vendor ./vendor/
|
COPY vendor ./vendor/
|
||||||
COPY web ./web/
|
COPY web ./web/
|
||||||
|
|
||||||
|
RUN apk --no-cache add ca-certificates
|
||||||
RUN go build -o ./auth
|
RUN go build -o ./auth
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
|
@ -21,6 +22,7 @@ FROM scratch
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
COPY --from=builder /app/auth /auth
|
COPY --from=builder /app/auth /auth
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
Loading…
Reference in New Issue