Add YouTube playback and queue flow
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -3,12 +3,19 @@ FROM node:22-bookworm-slim
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=3000
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG YT_DLP_PIP_SPEC="yt-dlp[default] @ https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD https://api.github.com/repos/yt-dlp/yt-dlp/commits/master /tmp/yt-dlp-master.json
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& apt-get install -y --no-install-recommends ca-certificates ffmpeg python3 python3-pip \
|
||||
&& python3 -m pip install --no-cache-dir --break-system-packages --upgrade "$YT_DLP_PIP_SPEC" \
|
||||
&& yt-dlp --version \
|
||||
&& apt-get purge -y --auto-remove python3-pip \
|
||||
&& rm -f /tmp/yt-dlp-master.json \
|
||||
&& rm -rf /root/.cache/pip /var/lib/apt/lists/*
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
Reference in New Issue
Block a user