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"