Explorar o código

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

JustSong %!s(int64=2) %!d(string=hai) anos
pai
achega
d9d38d12ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 /