From 4aa282c11a4d01175ae0c7d5bbea917027d8919e Mon Sep 17 00:00:00 2001 From: "kihong.kim" Date: Sun, 4 Jan 2026 20:38:19 +0900 Subject: [PATCH] Remove --no-cache from docker build to cache Whisper model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docker layer caching will now preserve the Whisper model download step, avoiding 1.5GB download on every deployment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/deploy.yaml | 2 +- deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a5bda68..1ce4c1b 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -27,7 +27,7 @@ jobs: git reset --hard origin/main echo "=== Rebuilding Docker containers ===" - docker compose build --no-cache + docker compose build echo "=== Restarting containers ===" docker compose down diff --git a/deploy.sh b/deploy.sh index 787a12b..09cd8a6 100644 --- a/deploy.sh +++ b/deploy.sh @@ -27,7 +27,7 @@ log "Git pull completed" # Rebuild and restart containers log "Rebuilding Docker containers..." -docker compose -f "$COMPOSE_FILE" build --no-cache +docker compose -f "$COMPOSE_FILE" build log "Restarting containers..." docker compose -f "$COMPOSE_FILE" down