Fix: python:alpine fails to build certain dependencies, and so does python:3.13 for some reason
This commit is contained in:
parent
92d3c6e52a
commit
98da48c7fd
|
@ -1,8 +1,7 @@
|
||||||
FROM python:alpine
|
FROM python:3.12
|
||||||
WORKDIR /umi
|
WORKDIR /umi
|
||||||
COPY "requirements.txt" .
|
COPY "requirements.txt" .
|
||||||
RUN apk update
|
RUN apt-get update
|
||||||
RUN apk add yt-dlp ffmpeg aria2 rtmpdump opus
|
RUN apt-get install -y yt-dlp ffmpeg aria2 rtmpdump libopus0
|
||||||
RUN pip install -r requirements.txt --break-system-packages
|
RUN pip install -r requirements.txt --break-system-packages
|
||||||
COPY . .
|
|
||||||
CMD ["python", "-u", "app.py"]
|
CMD ["python", "-u", "app.py"]
|
Loading…
Reference in a new issue