DEV Community

loading...

Discussion on: Deploying containerized NginX to Heroku - how hard can it be?

Collapse
annisalli profile image
Anniina Sallinen Author

Thank you, I'm happy that I could help! 🤩

And you're also right about the ARG, thank you for noticing it. I actually think I just forgot to remove it after I realised the PORT environment variable is defined in runtime and not in build time in Heroku 😄

Very nice explanation about how to define the environment variable when you run the container locally 😊 I don't have that information in my blog post, but that is definitely useful information!