Ver Fonte

fix: fix "X509: Certificate Signed by Unknown Authority" error by replacing scratch with alpine

JustSong há 2 anos atrás
pai
commit
d9d38d12ed
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -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 /