From bb6371dd616c213691b29e07b8d556753b544eda Mon Sep 17 00:00:00 2001 From: luorijun Date: Thu, 15 Oct 2026 17:45:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20docker=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 12 ++++++++++++ publish.ps1 | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4e22902 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,12 @@ +# Version control and editor files +.git +.github +.idea +.vscode +.zed + +# Local build output and runtime files +bin +*.exe* +*.log +data/uploads diff --git a/publish.ps1 b/publish.ps1 index 86ec57b..8b2aebf 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -9,8 +9,7 @@ if ($confrim -ne "y") { exit 0 } -docker build -t repo.lanhuip.com/lanhu/platform:latest . -docker build -t repo.lanhuip.com/lanhu/platform:$($args[0]) . +docker build -t repo.lanhuip.com/lanhu/platform:latest -t repo.lanhuip.com/lanhu/platform:$($args[0]) . docker push repo.lanhuip.com/lanhu/platform:latest docker push repo.lanhuip.com/lanhu/platform:$($args[0])