From e4abf4f9fb7dd07673a3c05ea5d575a9a0177ae7 Mon Sep 17 00:00:00 2001 From: itqop Date: Wed, 23 Oct 2024 00:08:30 +0300 Subject: [PATCH] Fix app path --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fad0da7..744d501 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ RUN pip install torch --index-url https://download.pytorch.org/whl/cpu EXPOSE 8002 # Команда запуска приложения с использованием Gunicorn и Uvicorn workers -CMD ["gunicorn", "main:app", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8002", "--workers", "4"] +CMD ["gunicorn", "app.main:app", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8002", "--workers", "4"]