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
|
WORKDIR /umi
|
||||||
COPY "requirements.txt" .
|
COPY "requirements.txt" .
|
||||||
RUN apt-get update
|
RUN apk update
|
||||||
RUN apt-get -y install yt-dlp ffmpeg aria2 rtmpdump
|
RUN apk add yt-dlp ffmpeg aria2 rtmpdump
|
||||||
RUN pip install -r requirements.txt --break-system-packages
|
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