Use Update instead of Include for config/idp-config.json to avoid
conflict with the SDK's default implicit Content item inclusion.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Move all hard-coded identity server settings (API resource, scope, client,
users/roles) from Program.cs into config/idp-config.json and add parsing
logic. The config file is copied to the output directory so it works for
local development and is available at /app/config/idp-config.json in the
Docker image, making it straightforward to override via a volume mount.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implemented a multi-stage build in the Dockerfile, adding a build stage with the .NET SDK for restoring and publishing the application. Introduced a runtime stage using the ASP.NET image, created a non-root user for enhanced security, and set necessary environment variables. The published output is now copied from the build stage, and the entry point is configured to launch the application.