FROM caddy:2.7.3-builder-alpine@sha256:d8bcb1d79bd1a9970df74b9b92ced472e5ee3d2f17f16bdb9383d6f8e00bacc0 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"]