From 4017ff3998d24c7704888def266a0c8e7a729b75 Mon Sep 17 00:00:00 2001 From: wangli Date: Sat, 10 Jan 2026 01:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=B8=80=E4=BA=9B=E5=9B=BD?= =?UTF-8?q?=E9=99=85dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 --- README.md | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f1974c..ab8a200 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,9 +109,6 @@ RUN apt-get update && \ libxfixes3 \ xdg-utils \ chromium \ - xvfb \ - x11vnc \ - fluxbox \ # OpenCV运行时依赖 libgl1 \ libglib2.0-0 \ diff --git a/README.md b/README.md index dfcb892..cbb02fa 100644 --- a/README.md +++ b/README.md @@ -1337,6 +1337,25 @@ docker run -d -p 8080:8080 --restart always \ -v $PWD/xianyu-auto-reply/:/app/data/ \ --name xianyu-auto-reply \ zhinianblog/xianyu-auto-reply:latest + + +docker buildx build \ + --platform linux/amd64,linux/arm64 \ + -t your-username/xianyu-auto-reply:latest \ + -t your-username/xianyu-auto-reply:2.2.0 \ + --push \ + . + +docker buildx build \ + --platform linux/amd64,linux/arm64 \ + -t wangli648438/xianyu-auto-reply:latest \ + --push \ + . + +docker run -d -p 8083:8080 --restart always \ + -v /opt/1panel/apps/xianyu-auto-reply/:/app/data/ \ + --name xianyu-auto-reply \ + wangli648438/xianyu-auto-reply:latest ``` **验证多架构镜像**: