feat(docker): run glossary translation script automatically on backend container startup
Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
This commit is contained in:
@@ -49,6 +49,10 @@ except:
|
|||||||
# Run database migrations
|
# Run database migrations
|
||||||
echo "📦 Running database migrations..."
|
echo "📦 Running database migrations..."
|
||||||
alembic upgrade head
|
alembic upgrade head
|
||||||
|
|
||||||
|
# Translate and migrate glossaries to multilingual format
|
||||||
|
echo "🌐 Translating and migrating glossaries to multilingual..."
|
||||||
|
python scripts/migrate_glossaries_to_multilingual_by_translation.py || echo "⚠️ Glossary translation failed but proceeding..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Wait for Redis if configured
|
# Wait for Redis if configured
|
||||||
|
|||||||
Reference in New Issue
Block a user