FROM caddy:builder-alpine AS builder RUN xcaddy build \ --with github.com/caddyserver/replace-response \ --with github.com/caddy-dns/cloudflare \ --with github.com/greenpau/caddy-security \ --with github.com/caddy-dns/duckdns FROM caddy:latest COPY --from=builder /usr/bin/caddy /usr/bin/caddy