The FDA has released a document that shares the proper food safety precautions to take before, during, and after a power outage:
https://www.fda.gov/media/72124/download
To learn more about food safety during power outages, watch the video below from the FDA: