How do I expose ports on Heroku with a Dockerfile?

前端 未结 2 1260
陌清茗
陌清茗 2020-12-19 02:39

I am trying to deploy a Docker image on Heroku and am trying to understand how to expose multiple ports. Here is the Docker command that I am trying to run in the Heroku de

2条回答
  •  臣服心动
    2020-12-19 03:03

    You may want to look at Dockhero add-on. It's a good way to deploy supplementary resources alongside your Heroku app, and it supports docker-compose with multi-port mapping. The web app itself should still be running on Heroku dynos.

提交回复
热议问题