I’m trying out App Platform. I stared with a Procfile that looks like this:
web: datasette -p $PORT
requirements.txt that listed
This failed to deploy because the healthcheck failed - Datasette defaults to listening on 127.0.0.1 but it looks like App Platform needs the process to listen on 0.0.0.0
So I updated the Procfile to this:
web: datasette -h 0.0.0.0 -p $PORT
This failed to deploy as well - but the Deploy logs showed that my process was still running on
After some digging around I found that the “Run Command” listed in the “Components” tab had persisted the original value from my Procfile. Updating that value using the web UI fixed the problem.
So my bug report / feature request is that if I modify the Procfile in my repository I would like the “Run Command” to be automatically updated to reflect that change.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.