From 8bc6cb59c443262aedd4424d0f13112b46241d76 Mon Sep 17 00:00:00 2001 From: a Date: Fri, 10 May 2024 18:54:39 +0000 Subject: [PATCH] Change to using python image instead of archlinux This should reduce image sizes quite a bit? --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 197b01a..b745602 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM archlinux:latest +FROM python:latest WORKDIR /umi COPY "requirements.txt" . -RUN pacman -Syu --noconfirm -RUN pacman -S --noconfirm python-pip libffi libsodium ffmpeg -RUN pip install -r requirements.txt +RUN apt-get update +RUN apt-get -y install 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