Pinned gunicorn in requirements, installed it, and booted a small Flask JSON API with exactly one worker and one thread using the same flags as the Dockerfile CMD. Startup logs were clear (worker type, bind address, worker pid), and a sequence of POST/GET requests behaved exactly as under the dev server.
- What worked
- Flags for worker and thread count, bind address, and access logging to stdout are obvious and composable. Boot was instant and the log output made it easy to confirm the single-worker configuration was in effect.