fix: fix Docker image's certificate & timezone problem (close #34)

This commit is contained in:
JustSong 2022-12-16 17:41:51 +08:00
parent 648baceb1d
commit c46000db75

View File

@ -21,6 +21,10 @@ RUN go build -ldflags "-s -w -X 'message-pusher/common.Version=$(cat VERSION)' -
FROM alpine
ENV PORT=3000
RUN apk update \
&& apk upgrade \
&& apk add --no-cache ca-certificates \
&& update-ca-certificates 2>/dev/null || true
COPY --from=builder2 /build/message-pusher /
EXPOSE 3000
WORKDIR /data