VNEWS / Dockerfile
bep40's picture
Restore to 53ee7c5 with minimal shorts/topic patch
3002f20 verified
raw
history blame contribute delete
397 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg fonts-dejavu-core git && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir fastapi uvicorn requests beautifulsoup4 lxml jinja2 yt-dlp huggingface_hub gTTS pillow edge-tts
COPY . .
EXPOSE 7860
CMD ["uvicorn", "restore_53ee7c5_patch:app", "--host", "0.0.0.0", "--port", "7860"]