How to set custom port for node.js Shopify App development environment?

The PORT is set in the .env alright, just that the env var gets overwritten somehow I guess. Not just PORT, but BACKEND_PORT and FRONTEND_PORT too.