summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-04-13 19:09:21 +0530
committerBobby <[email protected]>2025-04-13 19:09:21 +0530
commit47307124cf224590d0ce62faa933cf3b50c6ff91 (patch)
treebe82ef0fd515c6514b4faa8a9a1e2001ebfbfedd
parent3637a4d5c9a1c7e47cef87f4fafb50c8ccab1965 (diff)
downloadai-47307124cf224590d0ce62faa933cf3b50c6ff91.tar.xz
ai-47307124cf224590d0ce62faa933cf3b50c6ff91.zip
fix `yt-dlp` not in `$PATH`
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index c9505c7..d7d70fe 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,6 +28,7 @@ RUN apk add --no-cache ffmpeg python3 py3-pip opus opus-dev ca-certificates \
&& python3 -m venv /venv \
&& . /venv/bin/activate \
&& pip install --no-cache-dir yt-dlp \
+ && ln -s /venv/bin/yt-dlp /usr/local/bin/yt-dlp \
&& mkdir -p /app/temp
# Copy the binary from the builder stage