What is the new way to expose PORTS?

That option is no longer available from my side.

I can see some else reported the same issue Unable to find firbase backend port

The alternative suggested in that thread complicates things.