- Fix missing ffmpeg subprocess call in editor - Graceful fallback when subtitle filter unavailable - Parallelize Visual + Voice + Music pipeline stages - Add shared api_session, remove per-call proxy hacks - Add startup validation for missing API key - Remove dead deps (httpx, openai) - Add Dockerfile, docker-compose.yml - Add MIT LICENSE, .env.example - Rewrite README with Docker quickstart, cost info, troubleshooting
19 lines
438 B
Docker
19 lines
438 B
Docker
FROM python:3.11-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ffmpeg \
|
|
libass-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY backend/requirements.txt backend/requirements.txt
|
|
RUN pip install --no-cache-dir -r backend/requirements.txt
|
|
|
|
COPY backend/ backend/
|
|
COPY frontend/ frontend/
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["python", "-m", "uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
|