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
|
WORKDIR /umi
|
||||||
COPY "requirements.txt" .
|
COPY "requirements.txt" .
|
||||||
RUN pacman -Syu --noconfirm
|
RUN apt-get update
|
||||||
RUN pacman -S --noconfirm python-pip libffi libsodium ffmpeg
|
RUN apt-get -y install yt-dlp ffmpeg aria2 rtmpdump
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt --break-system-packages
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD ["python", "-u", "app.py"]
|
CMD ["python", "-u", "app.py"]
|
Loading…
Reference in a new issue