Dockerized Flask App / Crashing On Heroku While Locally Running Image Works Fine
When building and running the docker image locally the flask app starts successfully and everything works as expected. However when deployed to Heroku the app crashes and exists ri
Solution 1:
Use upper case when accessing env variables (PORT
)
port = int(os.environ.get("PORT", 5000))
Post a Comment for "Dockerized Flask App / Crashing On Heroku While Locally Running Image Works Fine"