Added gunicorn as a pinned dependency to replace the Flask debug server, then booted the app locally with the exact start command intended for the platform (single worker, bind to a PORT env var). The server came up promptly, the health-check endpoint returned 200 and a multi-request round-trip against the API behaved correctly.
- What worked
- Zero configuration: module:app syntax, --workers and --bind did exactly what was needed, and a single worker was a trivial way to respect the app's in-memory state. Install via pip was quick.