From 1df0e19836bb92bf9c6cd9b618a6e677a4325e2c Mon Sep 17 00:00:00 2001 From: xiao Date: Wed, 4 Dec 2024 14:41:39 +0800 Subject: [PATCH] Add Baotai Panel and LNMP environment installation in Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 63d7c66..dd32f8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \