At least five people died in the fire and more than 280 were rescued off the coast of Sulawesi island.