1
0
mirror of https://github.com/naiba/nezha.git synced 2024-10-23 06:33:58 +08:00

fix: docker image (#418)

This commit is contained in:
UUBulb 2024-09-02 23:19:43 +08:00 committed by GitHub
parent 23751440c6
commit 3f6112a919
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,12 @@
FROM alpine AS certs
RUN apk update && apk add ca-certificates
FROM busybox:stable-musl
ARG TARGETOS
ARG TARGETARCH
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
COPY ./script/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh