|
@@ -5,8 +5,8 @@ RUN echo "deb http://mirror.nju.edu.cn/debian/ bullseye main contrib non-free" >
|
|
|
echo "deb http://mirror.nju.edu.cn/debian/ bullseye-backports main contrib non-free" >> /etc/apt/sources.list && \
|
|
|
echo "deb http://mirror.nju.edu.cn/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
|
apt update && apt install -y python3 python3-pip python-is-python3 make \
|
|
|
- && pip config set global.index-url https://pypi.douban.com/simple \
|
|
|
- && pip install -U pip setuptools && pip install -r requirements.txt \
|
|
|
+ && pip config set global.index-url https://mirror.baidu.com/pypi/simple \
|
|
|
+ && pip install -U pip setuptools && pip install -r requirements.txt -i https://mirror.baidu.com/pypi/simple \
|
|
|
&& yarn config set registry https://registry.npm.taobao.org
|
|
|
#https://registry.npmmirror.com
|
|
|
COPY . /src/
|