yt-dlp install eklendi
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user