Change to using python image instead of archlinux
This should reduce image sizes quite a bit?
This commit is contained in:
parent
2352c101bc
commit
8bc6cb59c4
|
@ -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"]
|
Loading…
Reference in a new issue