Skip to content

Commit

Permalink
Install git in the runtime stage to fix yt-dlp installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss2u authored Dec 1, 2024
1 parent 082955b commit 159e5aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ RUN pip wheel --no-cache-dir --no-deps --wheel-dir /app/wheels -r requirements.t
# 第二阶段:运行阶段
FROM python:3.9-slim

# 安装 git
RUN apt-get update && apt-get install -y git

# 设置工作目录
WORKDIR /app

Expand Down

0 comments on commit 159e5aa

Please sign in to comment.