chore: 添加打包宝塔面板并清除www目录操作

This commit is contained in:
yolokk 2025-03-11 17:53:45 +08:00 committed by cnb
parent c12d9163c5
commit 81fe138c7d

View File

@ -53,6 +53,11 @@ RUN echo btpanel | bt 6 \
&& echo "/btpanel" > /www/server/panel/data/admin_path.pl \
&& echo "root:btpaneldocker" | chpasswd
# 打包宝塔面板并清除www
RUN bt 2 \
&& tar -zcf /www.tar.gz /www \
&& rm -rf /www
ENTRYPOINT ["/bin/sh","-c","/bt.sh"]
# 暴漏特定端口