From 48d1edbdc6ba6464d2c13bae316186e981c8b98b Mon Sep 17 00:00:00 2001 From: SimmerV <91698479+SimmerV@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:07:17 -0800 Subject: [PATCH] Create Dockerfile.caddy --- Dockerfile.caddy | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile.caddy diff --git a/Dockerfile.caddy b/Dockerfile.caddy new file mode 100644 index 0000000..55974dd --- /dev/null +++ b/Dockerfile.caddy @@ -0,0 +1,13 @@ +# Use the official Caddy builder +FROM caddy:builder AS builder + +# Add the Cloudflare DNS plugin +RUN xcaddy build \ + --with github.com/caddy-dns/cloudflare + +# Use the official Caddy base image +FROM caddy:latest + +# Copy the custom Caddy binary +COPY --from=builder /usr/bin/caddy /usr/bin/caddy +