Change to using python:alpine instead of python:latest (debian)
actually smaller images this time?
This commit is contained in:
parent
8d3d029671
commit
717f8cc3fb
|
@ -1,8 +1,8 @@
|
|||
FROM python:latest
|
||||
FROM python:alpine
|
||||
WORKDIR /umi
|
||||
COPY "requirements.txt" .
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install yt-dlp ffmpeg aria2 rtmpdump
|
||||
RUN apk update
|
||||
RUN apk add 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