Defrost the spinach completely.
Peel the onion and garlic, cut into small pieces and fry in a pan with 2 tablespoons of olive oil until golden brown.
Crumble the tofu with your hands and mix with cream cheese, salt, lemon juice, nutritional yeast flakes, chickpea flour, 2 tablespoons soy milk and spices.
Press the defrosted spinach in your hands to get rid of most of the water. Mix the tofu mixture with spinach and distribute it evenly on a rolled out puff pastry. Leave about 2 cm empty on each side.
Place the second puff pastry on top and roll up the edges with your fingers and seal it. Press in the edge with a fork as shown in the picture. In addition, pierce a few air holes in the dough with a fork and brush generously with the remaining soy milk.
Bake the pie in the oven at 180 degrees Celsius for 60 minutes. Let it cool, cut into small pieces and enjoy.