Firefighters were dispatched shortly before 4:30 a.m. to the structure fire in the 5600 block of Atlantic Avenue.
News video from the scene showed flames and smoke emanating from the roof of the building.
Paramedics rushed the injured firefighters to a hospital. No other injuries were reported.
The estimated damage caused by the incident was described as significant but a specific figure was not immediately available.
The cause of the fire is under investigation.