fix: fix "X509: Certificate Signed by Unknown Authority" error by replacing scratch with alpine
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ COPY --from=builder /build/build ./web/build
|
|||||||
RUN go mod download
|
RUN go mod download
|
||||||
RUN go build -ldflags "-s -w -extldflags '-static'" -o message-pusher
|
RUN go build -ldflags "-s -w -extldflags '-static'" -o message-pusher
|
||||||
|
|
||||||
FROM scratch
|
FROM alpine
|
||||||
|
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
COPY --from=builder2 /build/message-pusher /
|
COPY --from=builder2 /build/message-pusher /
|
||||||
|
|||||||
Reference in New Issue
Block a user