fix(media): yt-dlp ins Runtime-Image + Fallback bei ytdl HTTP 410/403; sollte YouTube-Streams stabilisieren
This commit is contained in:
parent
cfc3f899a2
commit
9e12f2a208
2 changed files with 14 additions and 2 deletions
|
|
@ -26,7 +26,10 @@ ENV NODE_ENV=production
|
|||
ENV PORT=8080
|
||||
ENV SOUNDS_DIR=/data/sounds
|
||||
|
||||
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y ffmpeg curl ca-certificates && rm -rf /var/lib/apt/lists/* \
|
||||
&& 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 \
|
||||
&& yt-dlp --version || true
|
||||
|
||||
COPY --from=server-build /app/server/dist ./server/dist
|
||||
COPY --from=server-build /app/server/node_modules ./server/node_modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue