Change to using python image instead of archlinux

This should reduce image sizes quite a bit?
This commit is contained in:
a 2024-05-10 18:54:39 +00:00
parent 2352c101bc
commit 8bc6cb59c4

View file

@ -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"]