FROM caddy:2.5.2-builder AS builder RUN xcaddy build fix-empty-copy-headers FROM caddy:2.5.2 COPY --from=builder /usr/bin/caddy /usr/bin/caddy