yt-dlp-bot/app_api/Dockerfile

14 lines
333 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
2023-02-03 01:31:07 +08:00
COPY ./app_api/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_api ./start.py ./
2022-02-04 06:21:27 +08:00
COPY yt_shared /app/yt_shared
RUN pip install -e /app/yt_shared