A fire that broke out on the roof of the Chelsea Market building Tuesday afternoon was quickly placed under control, an FDNY spokesman said.

The fire started at 425 W. 15th St. just before 12:10 p.m., the spokesman said. About 20 units, including roughly 80 firefighters and EMS personnel, responded to the scene.

The fire was placed under control around 12:50 p.m., a second FDNY spokesman said.

One person was treated at the scene for minor injuries, the fire department said.

Shortly after the fire erupted, video posted to Twitter showed smoke billowing from the rooftop, swirling around nearby buildings as firefighters battled the flames.

Meanwhile, people streamed out of the busy building, captured in a Facebook video by NY1 News reporter Dean Meminger. The station is located inside the building.

advertisement | advertise on newsday

“I thought it was fog outside and then we started smelling smoke,” Meminger said.

The building, a popular tourist attraction, has dozens of shops and restaurants on the first floor, including Doughnuttery, Dizengoff and Amy’s Bread.

The cause of the fire wasn’t immediately clear.