FROM alpine:3.14 as builder RUN apk --no-cache add ca-certificates FROM scratch as production ENV TZ="Asia/Shanghai" COPY ./app / COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ CMD ["/app"]