Pārlūkot izejas kodu

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

JustSong 2 gadi atpakaļ
vecāks
revīzija
d9d38d12ed
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 /