debug: split apk add steps

This commit is contained in:
KV-Tube Deployer 2026-03-24 22:48:46 +07:00
parent 729c5440ad
commit 1cb7a73a61

View file

@ -26,15 +26,14 @@ RUN echo "NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL" && npm run build
FROM alpine:latest FROM alpine:latest
# Install dependencies for Go backend, Node.js frontend, and Supervisord # Install dependencies for Go backend, Node.js frontend, and Supervisord
RUN apk add --no-cache \ RUN apk add --no-cache nodejs
nodejs \ RUN apk add --no-cache ca-certificates
ca-certificates \ RUN apk add --no-cache ffmpeg
ffmpeg \ RUN apk add --no-cache curl
curl \ RUN apk add --no-cache python3
python3 \ RUN apk add --no-cache py3-pip
py3-pip \ RUN apk add --no-cache supervisor
supervisor \ RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \
&& 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 && chmod a+rx /usr/local/bin/yt-dlp
WORKDIR /app WORKDIR /app