Make a taming pen in your base and just bring it there, then get on the upper part where he cant reach and fire away

More Allosaurus Taming & KO Tips