mirror of https://github.com/yutto-dev/yutto
🔥 chore: reduce docker size
This commit is contained in:
parent
d7b85fb1e9
commit
3a6d1b43f3
|
@ -6,10 +6,9 @@ LABEL maintainer="siguremo" \
|
|||
RUN set -x \
|
||||
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
||||
&& apk add -q --progress --update --no-cache --virtual .build-deps gcc g++ build-base python3-dev libffi-dev \
|
||||
&& apk add -q --progress --update --no-cache ffmpeg python3 py-pip tzdata \
|
||||
&& apk add -q --progress --update --no-cache ffmpeg python3 tzdata \
|
||||
&& python3 -m venv /opt/venv \
|
||||
&& source /opt/venv/bin/activate \
|
||||
&& pip install --no-cache-dir --pre yutto \
|
||||
&& /opt/venv/bin/pip install --no-cache-dir --pre yutto \
|
||||
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& apk del --purge .build-deps
|
||||
|
||||
|
|
Loading…
Reference in New Issue