prepare.sh: clean backend dependencies before installation to ensure a fresh build
This commit is contained in:
parent
acc3fffaf7
commit
a3e10d5b90
@ -108,6 +108,8 @@ fi
|
||||
if [ "$BUILD_BACKEND" = true ]; then
|
||||
echo -e "${GREEN}Building backend...${NC}"
|
||||
cd backend
|
||||
rm -rf node_modules package-lock.json
|
||||
npm cache clean --force
|
||||
npm install
|
||||
npm run build:prod
|
||||
cd ..
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user