From 4ae17d2348ec17dad0972323f9ca7ba3d2f9b5bb Mon Sep 17 00:00:00 2001 From: GoodiesHQ Date: Tue, 29 Oct 2024 03:39:38 -0700 Subject: [PATCH] Fixed dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c991217..bbf347d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ COPY cmd ./cmd COPY config ./config RUN CGO_ENABLED=0 GOOS=linux go build -o /app/cfdns ./cmd -FROM scratch +FROM alpine:latest +RUN apk --no-cache add ca-certificates COPY --from=builder /app/cfdns /app/cfdns WORKDIR /app ENTRYPOINT ["/app/cfdns"] \ No newline at end of file