By CBS13 Staff

MODESTO (CBS13) — Firefighters doused a two-alarm fire at a Modesto convenience store early Tuesday morning before it could get to a nearby apartment building.

Scene of the fire Tuesday morning. (Credit: Modesto Fire Department)

Modesto Fire says crews responded to the scene along the 200 block of H Street a little after 4 a.m. A single-story convenience store was on fire, crews reported, with the smoke and flames coming from the back of the building.

READ MORE: 'I Don't Think That's Fair': Allora Co-Owner Says Staff Was Bumped Down Vaccine List

Flames were getting close to a large two-story apartment building nearby, prompting the structure to be evacuated as a precaution.

A second-alarm was then called. Firefighters were able to get the flames under control before they could spread beyond the rear of the store.

READ MORE: 'My Nephew Died A Hero': Family Honors Man From Sacramento Mistakenly Shot And Killed By Idaho Police

No injuries were reported, firefighters say.

More from CBS Sacramento:

MORE NEWS: 3-Car Crash Forces I-80 Lane Closures, CHP Says

Exactly what started the fire is now under investigation.