fix: deploy

This commit is contained in:
KofK
2025-02-17 14:05:25 +03:00
parent 3f1ccfdbfe
commit 6dc977134b
6 changed files with 75 additions and 13 deletions

View File

@@ -10,8 +10,9 @@ RUN apt-get update && \
WORKDIR /app
# Копируем весь код и устанавливаем зависимости
COPY . .
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Команда для запуска
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]