diff --git a/Dockerfile b/Dockerfile index a16e5e5..1b52839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,8 @@ WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt +# Install yt-dlp last so it can be bumped independently without busting the cache above +RUN pip install --no-cache-dir --upgrade "yt-dlp>=2025.1" COPY app/ ./app/ diff --git a/requirements.txt b/requirements.txt index 9deb25b..5953d26 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ fastapi>=0.111 uvicorn[standard]>=0.29 python-multipart>=0.0.9 -yt-dlp>=2024.1 +yt-dlp>=2025.1 pydantic>=2.0 pydantic-settings>=2.0 aiofiles>=23.0