From 717f8cc3fbcd0ef4ff007784be3df8c94d5836bf Mon Sep 17 00:00:00 2001 From: a Date: Fri, 10 May 2024 19:26:11 +0000 Subject: [PATCH] Change to using python:alpine instead of python:latest (debian) actually smaller images this time? --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b745602..2628460 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM python:latest +FROM python:alpine WORKDIR /umi COPY "requirements.txt" . -RUN apt-get update -RUN apt-get -y install yt-dlp ffmpeg aria2 rtmpdump +RUN apk update +RUN apk add yt-dlp ffmpeg aria2 rtmpdump RUN pip install -r requirements.txt --break-system-packages COPY . . CMD ["python", "-u", "app.py"] \ No newline at end of file