# Caddy with the Cloudflare DNS module, so certificates issue over the DNS challenge and
# the zone can stay proxied (orange cloud). Built on the droplet by deploy/production.sh.
FROM caddy:2-builder AS builder
RUN xcaddy build --with github.com/caddy-dns/cloudflare

FROM caddy:2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
