mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-11-10 09:03:02 +08:00
19 lines
473 B
Docker
19 lines
473 B
Docker
FROM python:3.12-alpine
|
|
|
|
RUN apk add --no-cache \
|
|
tzdata \
|
|
htop \
|
|
bash \
|
|
libstdc++
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./yt_shared/requirements_shared.txt ./
|
|
|
|
RUN apk add --no-cache --virtual .build-deps \
|
|
build-base \
|
|
&& apk add git \
|
|
&& pip install --upgrade pip setuptools wheel \
|
|
&& MAKEFLAGS="-j$(nproc)" pip install --no-cache-dir -r requirements_shared.txt \
|
|
&& rm requirements_shared.txt \
|
|
&& apk --purge del .build-deps
|