Don't use pre-ground coffee.
I recently switched from buying pre-ground coffee to whole beans
That is great! Freshly grinding your coffee is the single biggest improvement you can do to your setup to have better quality coffee.
this is time-consuming to do every morning
What kind of grinder and how much coffee are you using? Even with my (slow) hand grinder, I don't need more than 30-40 seconds to grind my coffee. Are you brewing a lot of coffee at once?
What would be the best median between grinding it every day or the whole bag at once so that the ground coffee still remains relatively fresh?
There really is absolutely no middle ground here. Already ground coffee gets stale within minutes of grinding.
If you don't mind the taste and want to have a little experiment, I would suggest the following: Every day for 5 days, grind up a single portion of your coffee and leave each portion of each day in a separate mug or small bowl. At day 5, freshly grind another portion and put it in another bowl. Then, have a little taste test called cupping where you, in short, pour boiling hot water over each coffee, wait a bit, and then taste them side by side.
This kind of comparative tasting will help you home in on your preference. You will see if you can taste any differences and if so, if they're worth grinding your coffee freshly every morning.
For you, this "cupping" method has the added benefit of having the coffee taste fairly similar to the way it would in a french press.
Even if you find, that you don't mind the taste of pre-ground coffee, I would suggest maybe buying an electrical grinder like the Baratza Encore or the Wilfa Svart. The latter has a timing function, where you can pour all of your beans in the hopper and when you push the grind button, it grinds for X seconds. You get the same (although somewhat inconsistent) amount of coffee out every time. The absolute ideal thing would of course be to keep your beans in the bag it came and single dose a pre-weighed amount.