Bilder lade reparuzert - evtl.

This commit is contained in:
rxf
2025-09-22 19:33:23 +02:00
parent d347291840
commit 9b7bfcdab1
5 changed files with 112 additions and 0 deletions

31
rebuild-frontend.sh Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/bash
set -e
echo "🔄 Rebuilding Frontend with fixed image URLs"
echo "============================================="
# Load environment variables
if [ -f .env.development ]; then
export $(cat .env.development | grep -v '^#' | xargs)
else
echo "❌ Error: .env.development file not found!"
exit 1
fi
echo "🏗️ Rebuilding frontend..."
docker compose -f docker-compose.development.yml build frontend
echo "🔄 Restarting frontend..."
docker compose -f docker-compose.development.yml restart frontend
echo "⏳ Waiting for frontend to be ready..."
sleep 10
echo "✅ Frontend rebuild completed!"
echo ""
echo "🌐 Test URLs:"
echo " Frontend: http://$HOST_IP:3000"
echo " Backend API: http://$HOST_IP:3001/api"
echo ""
echo "🔍 Debug images:"
echo " ./debug-images.sh"