feat: adjust docker image build

This commit is contained in:
engigu
2025-12-23 10:32:59 +08:00
parent f44fd3ade7
commit 5f9df1aade
+3 -1
View File
@@ -48,7 +48,9 @@ RUN sed -i 's@deb.debian.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.li
&& echo "${TZ}" > /etc/timezone \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& apt update \
&& apt install -y tzdata git gcc curl wget vim nodejs npm python3 python3-pip \
&& apt install -y tzdata git gcc curl wget vim nodejs npm python3 python3-venv python3-pip \
&& python3 -m venv /opt/basepy3 \
&& source /opt/basepy3/bin/activate \
&& rm -rf /var/lib/apt/lists/* \
&& python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple