Changes: Added platform-specific build arguments to ensure cross-platform compatibility. Optimized ```dotnet restore``` and ```dotnet publish``` steps for better caching and faster builds. Removed unnecessary dependencies and improved layering to reduce image size. Ensured compatibility with Kubernetes deployments by maintaining a minimal runtime image.