Multi-Container .NET Applications Multi-Stage Dockerfile (.NET 10) Docker Compose (Development) Integration Event Bus (RabbitMQ) API Gateway Pattern .NET Docker Images | Image | Use for | Size | |-------|---------|------| | | Build stage only | 800MB | | | Web apps, APIs | 220MB | | | Console/worker apps | 190MB | | | Self-contained AOT | 110MB | Best Practices - Use multi-stage builds (build with SDK, run with aspnet/runtime) - Copy .csproj files first for Docker layer caching on restore - Use health checks in docker-compose for dependency ordering - Run as non-root user in production contai…