mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-11-10 09:03:02 +08:00
13 lines
333 B
Docker
13 lines
333 B
Docker
FROM yt-base-image
|
|
|
|
COPY ./app_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 ./app_bot ./start.py ./
|
|
|
|
COPY yt_shared /app/yt_shared
|
|
RUN pip install -e /app/yt_shared
|