Рабочий пайплайн: YouTube -> транскрипция -> выжимка -> Postgres
- новый api/: /pipeline/process (yt-dlp, субтитры или Vosk, LLM/экстрактивная суммаризация), /videos, /llm; старый код перенесён в api_legacy/ - web/: Flet UI (flet 0.28.3 + flet-web, порт 8550) - Dockerfile.api: ffmpeg слоем из mwader/static-ffmpeg, pip с кэш-маунтом - requirements/pyproject: убраны moviepy, imageio-ffmpeg, битый asyncio - README с инструкцией запуска и загрузкой Vosk-модели Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
14
Dockerfile.web
Normal file
14
Dockerfile.web
Normal file
@@ -0,0 +1,14 @@
|
||||
# syntax=docker/dockerfile:1.5
|
||||
FROM python:3.12-slim
|
||||
WORKDIR /app
|
||||
|
||||
# install deps separately for layer caching (flet is ~100 MB)
|
||||
COPY web/requirements.txt /tmp/web-req.txt
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install --no-cache-dir -r /tmp/web-req.txt
|
||||
|
||||
COPY web /app/web
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
EXPOSE 8550
|
||||
CMD ["python", "-m", "web.main"]
|
||||
Reference in New Issue
Block a user