---
title: "Discussion on \"How to host your Node app in a Docker Container on Heroku\" | Hashnode"
description: "Discussion on \"How to host your Node app in a Docker Container on Heroku\". Introduction\nThis is the third part of the series for Docker meets NodeJS. \nWe got to add a mongo database as a service and maybe you added a couple of endpoints to test it out, but the whole app is in runs locally and you might want to let the whole..."
url: "https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to host your Node app in a Docker Container on Heroku](https://hashnode.bywachira.com/how-to-host-your-node-app-in-a-docker-container-on-heroku?utm_source=hashnode&utm_medium=feed)

Introduction This is the third part of the series for Docker meets NodeJS. We got to add a mongo database as a service and maybe you added a couple of endpoints to test it out, but the whole app is in runs locally and you might want to let the whole...

Jun 16, 2019 · hashnode.bywachira.com  
Updated Jan 13, 2020  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[wachira\_dev](https://hashnode.com/@wwachira)

@wwachira · Worldwide

  
[View profile](https://hashnode.com/@wwachira)

Maker

## Responses 2

Markdown supported · ⌘↵ to post

[Ofir Aghai](https://hashnode.com/@iofirag)

[Jan 13, 2020](https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8/comment/5e1c45af32d5fad159b694c0)

"heroku container:release -a docker-nodejs-app web", instead of "heroku container:push web". -> for release part

[Ofir Aghai](https://hashnode.com/@iofirag)

[Jan 13, 2020](https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8/comment/5e1c449032d5fad159b694ba)

"heroku container:push -a docker-nodejs-app web" works for me, instead of "heroku container:push web".
