This commit is contained in:
2026-06-10 17:21:18 +08:00
parent f5a9b786d0
commit 4fb4786f4e
+1
View File
@@ -95,6 +95,7 @@ RUN export http_proxy=${GIT_PROXY} https_proxy=${GIT_PROXY} && \
# ===========================================================================
RUN python${PYTHON_VER} -m venv ${VENV} && \
mkdir -p /root/.pip && \
touch ${VENV}/torch-constraint.txt && \
echo "[global]" > /root/.pip/pip.conf && \
echo "index-url = ${PIP_INDEX}" >> /root/.pip/pip.conf && \
echo "[install]" >> /root/.pip/pip.conf && \