Fix: Single container volume mount issue - prevent backend override

This commit is contained in:
salvacybersec
2025-11-11 05:46:09 +03:00
parent eb2d114b9e
commit 2d94bdc4d1
2 changed files with 23 additions and 4 deletions

View File

@@ -76,6 +76,26 @@ else
echo "✅ Database mevcut, migration atlanıyor"
fi
# Frontend dist kontrolü
if [ -d "/app/frontend/dist" ]; then
echo "✅ Frontend dist bulundu: /app/frontend/dist"
echo " Dosya sayısı: $(find /app/frontend/dist -type f | wc -l)"
if [ -f "/app/frontend/dist/index.html" ]; then
echo " ✅ index.html mevcut"
else
echo " ⚠️ index.html bulunamadı!"
fi
else
echo "⚠️ Frontend dist bulunamadı: /app/frontend/dist"
fi
# Backend dosyaları kontrolü
if [ -f "/app/backend/src/app.js" ]; then
echo "✅ Backend app.js bulundu"
else
echo "⚠️ Backend app.js bulunamadı!"
fi
echo "✅ Oltalama hazır, uygulama başlatılıyor..."
echo ""