No live orchestra on set. The 2012 film used pre-recorded orchestral tracks (recorded at Abbey Road with a 70-piece orchestra conducted by David Lawrence). Actors sang live on set (earpieces with piano guide)—not lip-synced to playback—but the orchestral accompaniment was pre-recorded.
This hybrid approach (live vocals + pre-recorded band) became standard for subsequent film musicals (The Greatest Showman, Cats, Wicked).