yt-dlp-bot/app_worker/Dockerfile

16 lines
370 B
Text
Raw Normal View History

2022-11-03 01:56:19 +08:00
FROM yt-base-image
2022-02-04 06:21:27 +08:00
2022-11-03 01:56:19 +08:00
RUN apk add --no-cache ffmpeg
2022-02-04 06:21:27 +08:00
2023-02-03 01:31:07 +08:00
COPY ./app_worker/requirements.txt ./
2022-02-04 06:21:27 +08:00
2022-10-14 03:55:18 +08:00
RUN apk add --no-cache --virtual .build-deps \
build-base \
2022-11-03 01:56:19 +08:00
&& MAKEFLAGS="-j$(nproc)" pip install --no-cache-dir -r requirements.txt \
2022-10-14 03:55:18 +08:00
&& apk --purge del .build-deps
2022-02-04 06:21:27 +08:00
2023-03-23 05:24:06 +08:00
COPY ./app_worker ./start.py ./
2022-02-04 06:21:27 +08:00
COPY yt_shared /app/yt_shared
RUN pip install -e /app/yt_shared