If the container were void of air, the gas pressure would be the vapour presssure, which can be extrapolated to 50°C using the enthalpy of vaporization.
Though, I feel safer to suppose the container had air above the liquid when it was sealed, after which the vapour adds its partial pressure. So one would add 1atm to the vapour pressure.
In the process of attaining 50°C, vapour would first evolve quickly from the liquid as bubbles, until the gas full pressure attains the boiling pressure; then, evaporation would continue slowly until the vapour's partial pressure attains the equilibrium with the liquid, without boiling because vapour has too little pressure to push away the liquid against the full gas pressure.
You can feel that with a plastic bottle you half-fill with warm water and seal. Despite water not boiling, the bottle gets stiff from internal gas pressure, because vapour adds its partial pressure to the air already contained at 1atm. And if you release pressure then, seal the bottle again and let the water cool down, the bottle collapses.