yt-dlp-bot/base.Dockerfile
Taras Terletsky 7a33dc0434 Version 1.5
2024-03-20 19:26:35 +02:00

19 lines
452 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 \
&& 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