Skip to content

Commit

Permalink
fix: fix "X509: Certificate Signed by Unknown Authority" error by rep…
Browse files Browse the repository at this point in the history
…lacing scratch with alpine
  • Loading branch information
songquanpeng committed Nov 23, 2022
1 parent 640fad7 commit d9d38d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down

0 comments on commit d9d38d1

Please sign in to comment.