That's the basic premise behind Portal: Survive!, a new live-action fan film which explores the violent early moments of GLaDOS. Despite being an amateur production, Portal: Survive! proves surprisingly well-crafted.
Colin and Connor McGuire, the duo behind the short, claim that the total budget for their project was less than $500. The claustrophic interiors you see in the vignette are almost certainly a compromise made for monetary reasons, but the film's creators did an excellent job of making these limitations work toward the short's advantage. Instead of feeling cheap, these small sets lend an appropriate level of tension to the rise of GLaDOS.