Thaw the spinach, season with salt and pepper. Stir the bag contents of the onion soup into 300 ml of boiling water, cook over low heat for about 5 minutes, stir from time to time.
Brush the baking dish with the butter. First put the gnocchi in the baking dish, then pour the onion sauce evenly over it, distribute the spinach evenly on top, sprinkle with the cheese and finally with the flaked almonds.
Bake in a preheated oven at 225 ° C for 15-20 minutes