Or you could just not lock them up, allow them a temporary stay until their case is heard, etc. It’s a lot cheaper to do it this way too.
In fact, you could allow people to make their asylum claim in the country of origin or a third country so they don’t have to make this dangerous trip to the border while funding organised crime on the way.
Allow them to work and they can fund their stay anywhere. Anyway, like like all that’s moot now, Trump is going to be going with the government accommodation model.