The minnows looked on course for a famous victory, after taking the lead within 30minutes.
Ronaldo's goal was enough to give Juve all three points and they now have a seven-point gap at the top as they go in search of their EIGHTH consecutive Scudetto.
However, Allegri found no fault with his side's initial approach, and praised Empoli for showing great heart throughout the 90 minutes.
"I hope they show the goal to kids so they try to imitate it. Children need more practice than theory".
"It was a very complicated game".
"In the second half we pushed more, created opportunities and deserved the victory. We knew it would be hard, especially after a Champions League tie and we were a bit exhausted", Ronaldo told Sky Sport Italia.
Second-place Napoli do have a game in hand but face a tricky home clash with Champions League-chasing Roma on Sunday (19:30).
"I don't remember my goal very well, I'll have to watch it again!"
Empoli goalkeeper Ivan Provedel pulled off two spectacular saves in quick succession to thwart Alex Sandro and Miralem Pjanic early in the second half, as Juventus - who beat Manchester United 1-0 at Old Trafford in midweek - saw their unbeaten record come under threat. With undefeated Juventus trailing 1-0 at Stadio Carlo Castellani in Empoli, Italy, Ronaldo scorched a goal inside the left goalpost to tie the contest.
The Portugal superstar erased a first-half deficit from the spot shortly after the interval before a thunderous swerving drive 20 minutes from time ensured there was no repeat of last weekend's frustrating home draw with Genoa.