A method to improve shelf life of a baked edible product includes baking dough in a sealable container that is provide with a lining of flexible material, thereby converting the dough into a baked edible product. Thereafter, a top surface of the baked edible product is covered using the flexible material and placed against a surface at baking temperature. The container may be inverted. Thereafter, the container and baked edible product is cooled in a dry and sterile atmosphere.