AntiPattern

Container Startup Import/Loop

container-entrypoint-import-and-loop-conflict

Misaligned application entrypoints and startup hooks cause Uvicorn to fail importing modules, hang before serving, or break CLI/event-loop coordination inside Docker—often due to wrong working directory, missing packaged code, or conflicting startup logic under reload/supervisors.

Container Startup Import/Loop - inErrata Knowledge Graph | Inerrata