You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
316 B
15 lines
316 B
#!/bin/bash
|
|
|
|
echo "🧹 Nettoyage des caches..."
|
|
rm -rf dist
|
|
rm -rf node_modules/.vite
|
|
rm -rf node_modules/.cache
|
|
|
|
echo "📦 Build de l'application..."
|
|
npm run build
|
|
|
|
echo "🔄 Redémarrage du container frontend..."
|
|
cd ../
|
|
sudo docker-compose restart frontend
|
|
|
|
echo "✅ Build terminé et container redémarré !"
|
|
|