Replace the Flask app with an axum server that is a drop-in replacement:
same routes, SQLite schema and migrations, env vars, port and volume, and
Flask-compatible signed session cookies so existing logins survive. Pages
render from the original templates (byte-identical output). OIDC now also
accepts HS256-signed ID tokens, and malformed input returns 400 rather
than 500.
Deployment: test job before build, buildx with registry layer cache,
distroless image with HEALTHCHECK, deploy finds the Portainer stack by
name, pulls the SHA-pinned image with registry auth, and reports
Portainer errors verbatim.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>