Add Baotai Panel and LNMP environment installation in Dockerfile

This commit is contained in:
xiao 2024-12-04 14:41:39 +08:00
parent 97ec756b9b
commit 1df0e19836

View File

@ -33,6 +33,9 @@ COPY ["bt.sh", "init_mysql.sh", "/"]
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
RUN curl -o /lamp/apache.sh https://download.bt.cn/install/0/apache.sh \
&& sh /lamp/apache.sh install 2.4 \
&& curl -o /lamp/php.sh https://download.bt.cn/install/4/php.sh \