Alice Gray, 24, of Church Square in Galashiels, pleaded guilty to shouting, swearing and screaming, as well as refusing to leave a taxi when asked to.
She also admitted struggling violently with police officers in Bridge Street in Galashiels on July 29.
Selkirk Sheriff Court was told that a taxi driver pulled up outside Galashiels police station and told officers that a passenger would not get out of his vehicle.
Gray was abusive and turned increasingly violent to the constables as she was arrested, the court heard.
Defence lawyer Ross said the incident had been uncharacteristic for his client, a first offender.
He explained she had been on a night out and had drunk far too much, something she was not used to, and now had no recollection of the incident.
Sheriff Peter Paterson admonished her after hearing there had been no further offending during a period of deferred sentence.