Say v1.0.0: голосовой ассистент Whisper + 3 LLM
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Зависимости
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Код
|
||||
COPY . .
|
||||
|
||||
# Порт
|
||||
EXPOSE 5000
|
||||
|
||||
# Запуск через gunicorn (production) или flask (dev)
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "90", "app:application"]
|
||||
Reference in New Issue
Block a user