yt-dlp install eklendi

This commit is contained in:
2025-11-30 18:55:51 +03:00
parent 4ace2e380f
commit 0b802ba55c

View File

@@ -8,7 +8,9 @@ RUN npm run build
# Build server
FROM node:22-slim
RUN apt-get update && apt-get install -y ffmpeg
RUN apt-get update && apt-get install -y ffmpeg curl && rm -rf /var/lib/apt/lists/*
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \
&& chmod a+rx /usr/local/bin/yt-dlp
WORKDIR /app/server
COPY server/package*.json ./
RUN npm ci || npm i