yt-dlp-bot/bot/Dockerfile
2022-11-02 20:40:56 +02:00

14 lines
325 B
Docker

FROM yt-base-image
COPY ./bot/requirements.txt ./
RUN apk add --no-cache --virtual .build-deps \
build-base \
&& MAKEFLAGS="-j$(nproc)" pip install --no-cache-dir -r requirements.txt \
&& apk --purge del .build-deps
COPY ./bot ./start.sh ./
COPY yt_shared /app/yt_shared
RUN pip install -e /app/yt_shared