FROM caddy:2-builder AS builder MAINTAINER Yaltik - Fabien Bourgeois RUN xcaddy build \ --with github.com/caddyserver/format-encoder FROM caddy:2 COPY --from=builder /usr/bin/caddy /usr/bin/caddy