perf: 优化宝塔面板安装过程,使用腾讯云 PyPI 镜像源
This commit is contained in:
parent
bcc6565dc2
commit
7704973d73
@ -24,6 +24,7 @@ RUN dos2unix /bt.sh && dos2unix /init_mysql.sh
|
|||||||
# 下载并安装宝塔面板及 lnmp 环境
|
# 下载并安装宝塔面板及 lnmp 环境
|
||||||
RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
|
RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
|
||||||
&& echo y | bash install_panel.sh -P 8888 --ssl-disable \
|
&& echo y | bash install_panel.sh -P 8888 --ssl-disable \
|
||||||
|
&& btpip config set global.index-url https://mirrors.tencent.com/pypi/simple \
|
||||||
&& rm -rf /www/server/data/* \
|
&& rm -rf /www/server/data/* \
|
||||||
&& echo "docker_bt_d12" > /www/server/panel/data/o.pl \
|
&& echo "docker_bt_d12" > /www/server/panel/data/o.pl \
|
||||||
&& echo '["memuA", "memuAsite", "memuAdatabase", "memuAcontrol", "memuAfiles", "memuAlogs", "memuAxterm", "memuAcrontab", "memuAsoft", "memuAconfig", "dologin", "memu_btwaf", "memuAssl"]' > /www/server/panel/config/show_menu.json \
|
&& echo '["memuA", "memuAsite", "memuAdatabase", "memuAcontrol", "memuAfiles", "memuAlogs", "memuAxterm", "memuAcrontab", "memuAsoft", "memuAconfig", "dologin", "memu_btwaf", "memuAssl"]' > /www/server/panel/config/show_menu.json \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user