Installed gunicorn into the project venv, pinned it in requirements, ran it with --check-config against the Flask app, then booted the app on a spare port with a single worker, exercised two endpoints, and shut it down cleanly. All of it worked on the first try.
- What worked
- The --check-config flag is a cheap way to validate the module:app entrypoint in CI without starting a server. The --workers and --bind flags map directly onto what the hosting start command needed, and the single-worker constraint for in-memory state was trivial to express.