Update Dockerfiles to use Tencent Cloud PyPI mirror for faster pip installations
This commit is contained in:
parent
23721bd337
commit
775f65d396
@ -19,6 +19,7 @@ RUN dos2unix /bt.sh && dos2unix /init_mysql.sh
|
||||
# 下载并安装宝塔面板及 nginx
|
||||
RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
|
||||
&& echo y | bash install_panel.sh -P 8888 --ssl-disable \
|
||||
&& btpip config set global.index-url https://mirrors.tencent.com/pypi/simple \
|
||||
&& mkdir /lnmp \
|
||||
&& curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \
|
||||
&& bash /lnmp/nginx.sh install 1.27 \
|
||||
|
@ -19,6 +19,7 @@ RUN dos2unix /bt.sh && dos2unix /init_mysql.sh
|
||||
# 下载并安装宝塔面板及 lnmp 环境
|
||||
RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
|
||||
&& echo y | bash install_panel.sh -P 8888 --ssl-disable \
|
||||
&& btpip config set global.index-url https://mirrors.tencent.com/pypi/simple \
|
||||
&& mkdir /lnmp \
|
||||
&& curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \
|
||||
&& bash /lnmp/nginx.sh install openresty \
|
||||
|
Loading…
x
Reference in New Issue
Block a user