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