A fire at the largest oil refinery on the East Coast turned the early morning sky a bright orange and yellow and awakened startled residents with explosions that shook homes Friday. The fire broke out at the Philadelphia Energy Solutions Refining Complex around 4 a.m., spokeswoman Cherice Corley said.

By 9 a.m., emergency workers were still trying to control the fire, said Corley. A shelter-in-place order for nearby residents was lifted, and roads around the complex were reopened to traffic, Corley said.

There are four confirmed injuries, all minor, that were treated on site. Jonathan Triboletti saw the blaze on a freeway while heading to the airport and posted a video to Twitter of a huge fireball shooting into the sky.

Moments before the explosion pic.twitter.com/kZ7ButGVwM — Jonathan Triboletti (@JonnyTriBBz6) June 21, 2019

Bob Braciszewski told CBS station KYW-TV he was at work nearby when he heard about the blaze. "We went out back, and we were looking at it, and as we were standing there something else blew up, … so it was kinda scary," he told the station.

Get Breaking News Delivered to Your Inbox

The cause of Friday's fire was still unclear late Friday morning. Corley said three explosions, felt for miles away, went off as the fire worked its way through the tangle of pipes carrying fuel across the complex.

It happened at the Girard Point refinery, one of two at the PES complex in southern Philadelphia. The company said it has not determined what exactly caught fire, but it believes it was mostly propane.

Earlier, a Philadelphia Fire Department official had said the fire started in a vat of butane. Philadelphia Energy Solutions said the 150-year-old oil refining complex produces 335,000 barrels of crude oil daily.

It was the second blaze at the refinery this month, following a June 10 fire in which no injuries were reported. Plant and city firefighters were cooling down nearby tanks to prevent the fire from spreading.

"We're here in support of the Philadelphia Energy Solution (crews)," Craig Murphy, the city's deputy fire commissioner, told a media briefing at the site. "The fire is now different from when we got here."

Thick, black smoke billowed across the city when the fire started. "The whole sky lit up yellow," Antonio Tindle told WPVI-TV. "The third explosion rocked my truck. The whole truck started to rock and it got kind of scary."

Mark Broadbent, an analyst who covers refining at Wood Mackenzie, said gas inventory is already low and the blaze "will put additional pressure on the system."