From 98da48c7fdc5ef98bf7e4e868ba5a17515152718 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 21 Oct 2024 21:36:25 +0000 Subject: [PATCH] Fix: python:alpine fails to build certain dependencies, and so does python:3.13 for some reason --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 588c533..79ccfac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ -FROM python:alpine +FROM python:3.12 WORKDIR /umi COPY "requirements.txt" . -RUN apk update -RUN apk add yt-dlp ffmpeg aria2 rtmpdump opus +RUN apt-get update +RUN apt-get install -y yt-dlp ffmpeg aria2 rtmpdump libopus0 RUN pip install -r requirements.txt --break-system-packages -COPY . . CMD ["python", "-u", "app.py"] \ No newline at end of file