chore: 更新 Dockerfile 以创建新的符号链接优化宝塔面板工具路径chore: 更新 Dockerfile 以创建新的 Python 符号链接chore: 更新 Dockerfile 以创建新的符号链接优化宝塔面板工具路径

This commit is contained in:
xiao 2024-12-17 23:07:17 +08:00
parent ac5b5fd7d7
commit cf4851b942

View File

@ -19,6 +19,10 @@ RUN pip install --upgrade pip \
RUN chmod +x /www/server/panel/pyenv/bin/python3 \
&& chmod +x /www/server/panel/pyenv/bin/pip3
# 创建符号链接
RUN ln -sf /www/server/panel/pyenv/bin/pip3 /usr/bin/btpip \
&& ln -sf /www/server/panel/pyenv/bin/python3 /usr/bin/btpython
# 复制脚本
COPY ["bt.sh", "init_mysql.sh", "install_panel.sh", "/"]