FROM caddy:2.7.5-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/caddy-dns/porkbun \
--with github.com/caddyserver/replace-response
FROM caddy:2.7.5
COPY --from=builder /usr/bin/caddy /usr/bin/caddy