Remove --no-cache from docker build to cache Whisper model
Some checks failed
Deploy to Server / deploy (push) Failing after 16m58s
Some checks failed
Deploy to Server / deploy (push) Failing after 16m58s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
|
|
||||||
echo "=== Rebuilding Docker containers ==="
|
echo "=== Rebuilding Docker containers ==="
|
||||||
docker compose build --no-cache
|
docker compose build
|
||||||
|
|
||||||
echo "=== Restarting containers ==="
|
echo "=== Restarting containers ==="
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ log "Git pull completed"
|
|||||||
|
|
||||||
# Rebuild and restart containers
|
# Rebuild and restart containers
|
||||||
log "Rebuilding Docker containers..."
|
log "Rebuilding Docker containers..."
|
||||||
docker compose -f "$COMPOSE_FILE" build --no-cache
|
docker compose -f "$COMPOSE_FILE" build
|
||||||
|
|
||||||
log "Restarting containers..."
|
log "Restarting containers..."
|
||||||
docker compose -f "$COMPOSE_FILE" down
|
docker compose -f "$COMPOSE_FILE" down
|
||||||
|
|||||||
Reference in New Issue
Block a user