FROM caddy:2.7.3-builder-alpine@sha256:60afa28fcdce12aa9708e9b83d2478d054ba04c0a3801c3312f54e4ed4b2ccfa AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 FROM caddy:2.7.3-alpine@sha256:60de297131e676c0d87d7aacaa4fbd5a883abb5818977670f7024b89ebe1d7bb COPY --from=builder /usr/bin/caddy /usr/bin/caddy CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]