commit 9724abe2e2a01421ee8bbd976cf82e9f12ac866b
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2022-09-14T16:05:24Z |
| subject | Fixed cert issue |
commit 9724abe2e2a01421ee8bbd976cf82e9f12ac866b
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2022-09-14T16:05:24Z
Fixed cert issue
---
Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Dockerfile b/Dockerfile
index f9c6c2f..a96090e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 /