From cf4851b94250da3a26f52c210166306ce2e9c6bb Mon Sep 17 00:00:00 2001 From: xiao Date: Tue, 17 Dec 2024 23:07:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20Dockerfile=20?= =?UTF-8?q?=E4=BB=A5=E5=88=9B=E5=BB=BA=E6=96=B0=E7=9A=84=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=BC=98=E5=8C=96=E5=AE=9D=E5=A1=94=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E5=B7=A5=E5=85=B7=E8=B7=AF=E5=BE=84chore:=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20Dockerfile=20=E4=BB=A5=E5=88=9B=E5=BB=BA=E6=96=B0?= =?UTF-8?q?=E7=9A=84=20Python=20=E7=AC=A6=E5=8F=B7=E9=93=BE=E6=8E=A5chore:?= =?UTF-8?q?=20=E6=9B=B4=E6=96=B0=20Dockerfile=20=E4=BB=A5=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=96=B0=E7=9A=84=E7=AC=A6=E5=8F=B7=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=9D=E5=A1=94=E9=9D=A2=E6=9D=BF=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0c5567a..8d91f4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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", "/"]