From 7652649ac91580fe3c59d4ac23d58ae702fabe60 Mon Sep 17 00:00:00 2001 From: GoodiesHQ Date: Fri, 7 Nov 2025 02:18:36 -0800 Subject: [PATCH] Improved dockerfile, default config file overloaded via command --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1e48568..02f4679 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,7 @@ FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /app COPY --from=builder /out/cfdns /app/cfdns -ENTRYPOINT ["/app/cfdns"] \ No newline at end of file + +# Default command +ENTRYPOINT ["/app/cfdns"] +CMD ["-config", "/app/config/cfdns.yaml"]