From 6dbd55a9ace16d3be4bde88c0f673dc311c97f36 Mon Sep 17 00:00:00 2001 From: Fusion Date: Mon, 18 May 2026 17:53:40 +0200 Subject: [PATCH] fix: correct uvicorn module path in Dockerfile main.py is located at src/main.py, not at the root. Changed CMD from 'main:app' to 'src.main:app' to fix ASGI import error. --- apps/api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index c032657..cedd54c 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -48,4 +48,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1 # Run the application -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]