修复Docker外部依赖错误

This commit is contained in:
WolfBolin 2021-11-07 12:03:50 +08:00
parent 545a593fa9
commit ede2c65f6c

View File

@ -15,7 +15,6 @@ RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.li
# Project environment # Project environment
WORKDIR /var/app WORKDIR /var/app
COPY . /var/app COPY . /var/app
COPY ./Config/openssl.cnf /etc/ssl
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip \ RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip \
&& pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt && pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt