If you are pushing to heroku using docker, you don’t need setup.sh and Procfile.
Regards to exposing port to Heroku, try changing your CMD in Dockerfile to CMD streamlit run app.py --server.port $PORT and follow the heroku guideline to push your docker image to the server
I think I did google search already but there isn’t much of a docker/streamlit/heroku combo. Most stop at the steps described above. Maybe because of the free tier.
As I said, you don’t need setup.sh and Procfile file if you are deploying with container registry (in this case Docker)
Your root directory would have requirements.txt, app.py, Dockerfile and anything else that you need to run your app.py. Simply just remove setup.sh and Procfile from the directory
EXPOSE 8501 will be ignored by Heroku, so it’s up to you to keep it in Dockerfile. I would leave it in case you want to test docker container locally.