What problem does it solve?
This Skill removes the guesswork of containerizing .NET applications by providing proven Docker patterns for building, running, and operating containers reliably.
Core Features & Use Cases
- Multi-stage Docker builds: Produces smaller runtime images by separating build and runtime stages.
- Non-root container execution: Uses the built-in non-root user approach for safer production deployments.
- Faster, cache-friendly builds: Restores dependencies using copied
.csproj files before copying the full source.
- Health checks and operational readiness: Adds container health checks and recommends matching health endpoints for Docker/Compose.
- Common anti-pattern avoidance: Prevents oversized images and invalidates NuGet caches by copying/restore in the right order.
Quick Start
Ask the AI to generate a production-ready multi-stage Dockerfile for your .NET app with a non-root user and a Docker health check endpoint.