0

I want to deploy a simple web app to Heroku.

The front-end, back-end, and database of my web app are bundled together with docker-compose.

The Heroku documentation says that typing heroku container:push web should be sufficient to push my app to Heroku, once I have created the appropriate images with docker-compose. This doesn't work for me: the Keroku CLI tells me No images to push.

Adding a -a myAppName tag doesn't help either, nor do other posts on Stack Overflow.

I would prefer not to try this solution, as it would pollute my source control with Heroku-specific configuration.

What can I do to understand what is not working and why?

Giorgio
  • 2,137
  • 3
  • 20
  • 40

1 Answers1

0

Docker compose on Heroku is just for local development. You should look at heroku.yml for deployment. Reference. Heoku.yml

Saurabh
  • 528
  • 2
  • 8