How to make static app port?

January 26, 2014 2k views
I created dokku application and deploy my nodejs project. I don't need custom domain. But after each deploy app-port increments(:49155 -> :49156 etc.). How I can make static app-port?
1 Answer
That's how docker works, unfortunately. I don't think Dokku supports deploying an app on a static port.

You can however point it to an arbitrary domain name and add it to your /etc/hosts file locally so you can access it.
Have another answer? Share your knowledge.