Add Baotai Panel and LNMP environment installation in Dockerfile
This commit is contained in:
parent
97ec756b9b
commit
1df0e19836
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user