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