1. if you see he has scv's at front repairing bunkers i would just sit back and keep containing with a choke that small, wait until you have a few colossi or ad more gates, your money was around 500 the whole time, you can use those resources !
Personally when i contain a terran, i know 1 of 4 things will happen.
1. Drop ( you didnt have any scouts near the edges to stop him from dropping)
2. Banshee (no detection on your part)
3. Siege tanks( he will just keep pushing out)
4. Stim and run down his ramp kill off your sentries and then just expand and mule up.
Just a few to keep in mind, obviously theres a multitude of things that can happen, what i think happened in your game there, is just that you werent thinking of what was coming next, if you contain a terran it wont be forever. unless you think about where to go, your expansion timing(3) was good but you need to follow up. i would maybe have gone 6 gates a bit quicker. so all in all, tech up and cover your bases, put a pylon where you think he might pass to do a drop, stalker blink would have helped you enourmously aswell.
Even the smallest donations help keep sc2sea running! All donations go towards helping our site run including our monthly server hosting fees and sc2sea sponsored community tournaments we host. Find out more here.