fix Conda 条款未同意导致的构建失败 (#2727)

This commit is contained in:
Oarora 2026-02-08 23:52:04 +08:00 committed by GitHub
parent c767f0b83b
commit 9986880b3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,9 +25,15 @@ ENV WORKFLOW=${WORKFLOW}
ARG TARGETPLATFORM
ENV TARGETPLATFORM=${TARGETPLATFORM}
# 解决 Conda 条款未同意导致的构建失败
ENV TERM=linux
RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
RUN bash Docker/miniconda_install.sh
COPY extra-req.txt /workspace/GPT-SoVITS/
COPY requirements.txt /workspace/GPT-SoVITS/