Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Oct 7, 2024
1 parent d0fa608 commit 9914c86
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions scripts/patch-docker
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,15 @@ fi

if [ ! -d node_modules ]; then
echo -e "${YELLOW}node_modules folder does not exist - running yarn install${RESET}"
yarn installecho -e "${CYAN}Building production build of the UI${RESET}"
yarn install
echo -e "${CYAN}Building production build of the UI${RESET}"
fi

rm -rf ${DIR}/dist
mkdir -p ${DIR}/dist

UI_MODE="" RANCHER="" CATALOG="" ${DIR}/node_modules/.bin/ember build --environment=production --output-path=${DIR}/dist

mkdir -p ${DIR}/dist

UI_MODE="" RANCHER="" CATALOG="" ${DIR}/node_modules/.bin/ember build --environment=production --output-path=${DIR}/dist
fi

rm -f dist.tar
tar -cvf dist.tar dist/

Expand All @@ -85,5 +82,3 @@ echo ""
echo "All done"
echo -e "${YELLOW}Note: It is recommended to set the Rancher 'ui-offline-preferred' setting to 'Local' to ensure the embedded UI is always used${RESET}"
echo ""


0 comments on commit 9914c86

Please sign in to comment.