FROM caddy:2.6.4-builder-alpine@sha256:1d239acc61cd4419d60dc5a5fdd3b1ce41b4aa9c6455dbfe2404bcbb9bc5a370 AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 FROM caddy:2.6.4-alpine@sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a COPY --from=builder /usr/bin/caddy /usr/bin/caddy CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]