---
title: "Ofir Aghai (@iofirag) | Hashnode"
description: "Ofir Aghai (@iofirag) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@iofirag"
---

@iofirag

# Ofir Aghai

@iofirag · Joined January 2020

## Comments

["heroku container:release -a docker-nodejs-app web", instead of "heroku container:push web". -> for release part](https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8/comment/5e1c45af32d5fad159b694c0)

Comment · Article · Jan 13, 2020 · [How to host your Node app in a Docker Container on Heroku](https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8)

["heroku container:push -a docker-nodejs-app web" works for me, instead of "heroku container:push web".](https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8/comment/5e1c449032d5fad159b694ba)

Comment · Article · Jan 13, 2020 · [How to host your Node app in a Docker Container on Heroku](https://hashnode.com/posts/how-to-host-your-node-app-in-a-docker-container-on-heroku/5d06aa71d912a80c29c9d4e8)

[run "docker run -p 3000:3000 docker\_nodejs\_app" instead of "docker run -it docker\_nodejs\_app" solve my problem. :) also, "EXPOSE 3000:3000" in Dockerfile - didnt work, and should be just: "EXPOSE 3000"](https://hashnode.com/posts/how-to-create-a-node-app-within-a-docker-container/5ce5674efc6d4123769342c6/comment/5e1b229f32d5fad159b68fcf#reply-5e1b29d77a1d3fcc59026970)

Reply · Article · Jan 12, 2020 · [How to create a Node App within a Docker container](https://hashnode.com/posts/how-to-create-a-node-app-within-a-docker-container/5ce5674efc6d4123769342c6)

[run "docker run -it docker\_nodejs\_app" in terminal, but when going to http://localhost:3000/ from the browser, i got the error: "This site can't be reached" help?](https://hashnode.com/posts/how-to-create-a-node-app-within-a-docker-container/5ce5674efc6d4123769342c6/comment/5e1b229f32d5fad159b68fcf)

Comment · Article · Jan 12, 2020 · [How to create a Node App within a Docker container](https://hashnode.com/posts/how-to-create-a-node-app-within-a-docker-container/5ce5674efc6d4123769342c6)
