fix: 注释多余的安装依赖包阶段
This commit is contained in:
parent
9d21046326
commit
5b1b5a0d0c
|
|
@ -8,9 +8,9 @@ COPY requirements.txt .
|
||||||
|
|
||||||
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list
|
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list
|
||||||
|
|
||||||
RUN apt-get update \
|
# RUN apt-get update \
|
||||||
&& apt-get install gcc -y \
|
# && apt-get install gcc -y \
|
||||||
&& apt-get clean
|
# && apt-get clean
|
||||||
|
|
||||||
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --prefix=/install
|
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --prefix=/install
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue