Let the oven preheat at 190°Celsius.
Take a pan and heat the oil over medium heat.
Add onion and cook for around 3 minutes.
Add mushroom and cook for 5 minutes until it turns golden brown
Mix bacon, spinach, and chiles and cook until the spinach cooks appropriately.
Sprinkle salt and pepper.
Pour the mixture into four 6-ounce oven-safe buttered containers.
Crack one egg for each container and pour it on without breaking the yolk.
Bake for around 10 minutes until the egg whites set, but the yolk is still loose.