mirror of
https://github.com/songquanpeng/message-pusher.git
synced 2024-05-03 08:45:04 +08:00
fix: fix Docker image's certificate & timezone problem (close #34)
This commit is contained in:
parent
648baceb1d
commit
c46000db75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user