Once the container's done building, throw it out, take what it built, and serve it.
I'd personally do this separately from the rest of the web app if possible, though. I keep frontends in their own repository.