From e6ade070716264112bffa2eb873cd20a75d34c79 Mon Sep 17 00:00:00 2001 From: Brad Schroth <2342157+bferd@users.noreply.github.com> Date: Wed, 19 Aug 2026 15:42:34 -0400 Subject: [PATCH] fix: clean yarn cache after mealie frontend build to prevent disk growth (#16609) --- ct/mealie.sh | 1 + install/mealie-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/mealie.sh b/ct/mealie.sh index 1f3631ccc..6a288ad43 100644 --- a/ct/mealie.sh +++ b/ct/mealie.sh @@ -75,6 +75,7 @@ STARTEOF cd /opt/mealie/frontend $STD yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 $STD yarn generate + $STD yarn cache clean msg_ok "Built Frontend" msg_info "Copying Built Frontend" diff --git a/install/mealie-install.sh b/install/mealie-install.sh index f29ea36b4..137b38622 100644 --- a/install/mealie-install.sh +++ b/install/mealie-install.sh @@ -48,6 +48,7 @@ $STD sed -i "s|value: data.buildId,|value: \"v${MEALIE_VERSION}\",|g" "$SITE_SET $STD sed -i "s|value: data.production ? i18n.t(\"about.production\") : i18n.t(\"about.development\"),|value: \"bare-metal\",|g" "$SITE_SETTINGS" $STD yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 $STD yarn generate +$STD yarn cache clean msg_ok "Built Frontend" msg_info "Copying Built Frontend"