Firefighters responded to the 5500 block of Easton Road in Doylestown just after midnight.
They said within ten minutes of battling the flames one of the building's walls collapsed.
A shortage of fire hydrants forced firefighters to call in water tanks.
Crews had the flames under control in about an hour but officials said the building is a total loss.
Officials said two firefighters were taken to the hospital to be treated for smoke inhalation.
The cause of the fire is under investigation.