Skip to content

Commit b7ec6c4

Browse files
authored
Merge pull request #1459 from huiwq1990/feat-fixpip
pip install disable cache
2 parents a976519 + 3387f07 commit b7ec6c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ RUN git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
4646

4747
RUN conda activate ${VENV} && conda install -y -c conda-forge pynini==2.1.5
4848
RUN conda activate ${VENV} && cd CosyVoice && \
49-
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
49+
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --no-cache-dir
5050

5151
WORKDIR /workspace/CosyVoice

runtime/python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ RUN apt-get -y install git unzip git-lfs g++
99
RUN git lfs install
1010
RUN git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
1111
# here we use python==3.10 because we cannot find an image which have both python3.8 and torch2.0.1-cu118 installed
12-
RUN cd CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
12+
RUN cd CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --no-cache-dir
1313
RUN cd CosyVoice/runtime/python/grpc && python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. cosyvoice.proto

0 commit comments

Comments
 (0)