Files
xdl/backend/Dockerfile
mini 5b92050b1a
All checks were successful
continuous-integration/drone/push Build is passing
revert: remove torrent/magnet feature
2026-03-17 21:06:20 +08:00

15 lines
359 B
Docker

FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && pip install --no-cache-dir -U yt-dlp
COPY app/ ./app/
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]