Not enough data
What flow are you getting from your shower head? How far is the tank from the shower? How long do you wait for it warm up? what's the temp set for on the heater?
If it's a newer shower head, it should be in the order of 2 to 2.5 gpm. 8 min X 2.5 gpm flow is only 20 gallons and that should mixed with the cold supply. Hot water consumed should be around 2/3 to 3/4 s of that. Let's say you use 15 gallons of hot water but waste another 2 or 3 getting the pipes nice and toasty first.
If you have an older shower head, you could be using double that rate of water in which case, you should be running out of hot water at 8 mins.
Solutions, put a water conserving head on the shower or get a bigger heater... or set the temp higher on the tank.
Too many variables but it should be pretty easy to diagnose the problem once you have all the facts.
John