Fixed cert issue

This commit is contained in:
斟酌 鵬兄 2022-09-15 00:05:24 +08:00
parent 79a873becd
commit 9724abe2e2

View File

@ -14,6 +14,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /golifehk
FROM scratch
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /golifehkbot /
WORKDIR /