mirror of
https://github.com/songquanpeng/message-pusher.git
synced 2025-11-03 10:20:51 +08:00
fix: fix "X509: Certificate Signed by Unknown Authority" error by replacing scratch with alpine
This commit is contained in:
@@ -17,7 +17,7 @@ COPY --from=builder /build/build ./web/build
|
||||
RUN go mod download
|
||||
RUN go build -ldflags "-s -w -extldflags '-static'" -o message-pusher
|
||||
|
||||
FROM scratch
|
||||
FROM alpine
|
||||
|
||||
ENV PORT=3000
|
||||
COPY --from=builder2 /build/message-pusher /
|
||||
|
||||
Reference in New Issue
Block a user