One person died and four others were injured in a three-alarm fire that ripped through a home early Thursday morning in Portland, Maine, officials said.