Officials say firefighters were able to prevent flames from spreading to homes nearby after flames broke out at around 4:30 a.m.
Huge flames could be seen shooting out of the building on 12th Avenue near 85th Street in Dyker Heights.
The two firefighters who were hurt suffered minor injuries.
There is no word on what caused this fire.
----------
* More Brooklyn news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube