fix: 注释多余的安装依赖包阶段

This commit is contained in:
chenwj 2023-05-20 23:28:03 +08:00
parent 9d21046326
commit 5b1b5a0d0c
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ COPY requirements.txt .
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN apt-get update \
&& apt-get install gcc -y \
&& apt-get clean
# RUN apt-get update \
# && apt-get install gcc -y \
# && apt-get clean
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --prefix=/install