Fix: Single container volume mount issue - prevent backend override
This commit is contained in:
@@ -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 ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user