mirror of https://github.com/yutto-dev/yutto
🔧 chore: cleanup docker build stage
This commit is contained in:
parent
2d71f61597
commit
197afbdd7f
|
@ -5,12 +5,10 @@ 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 tzdata \
|
||||
&& python3 -m venv /opt/venv \
|
||||
&& /opt/venv/bin/pip install --no-cache-dir --pre yutto \
|
||||
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& apk del --purge .build-deps
|
||||
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
Loading…
Reference in New Issue