From e74900bcb0637d88eb82474976a44f45eccb494c Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Tue, 27 Oct 2026 15:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=96=87=E5=8F=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 1 + deploy.sh | 3 +-- src/App.vue | 57 ++++++++++++++++++++++---------------------------- 3 files changed, 27 insertions(+), 34 deletions(-) diff --git a/.gitattributes b/.gitattributes index 236a71b..1ce20a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ *.png -text *.jpg -text *.jpeg -text +*.sh text eol=lf diff --git a/deploy.sh b/deploy.sh index 8d1237c..b2da242 100644 --- a/deploy.sh +++ b/deploy.sh @@ -16,8 +16,7 @@ if ! docker compose version >/dev/null 2>&1; then exit 1 fi -# Do not reuse an old frontend layer: media files must always come from the -# currently uploaded source package. +# Force a fresh image so replaced media files cannot be hidden by build cache. docker compose build --no-cache shuziren docker compose up -d --force-recreate --remove-orphans shuziren diff --git a/src/App.vue b/src/App.vue index 4c07de3..f656119 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@