Build Command Help

I am helping a person deploy their project using python. It always fails on the promote stage, saying

hostingpid1: an open port was not detected

Do I need to use a different run command? I’m using

streamlit run --server.address 0.0.0.0 --server.headless true --server.enableCORS=false --server.enableWebsocketCompression=false main.py

Also, do I need to use a build command

What is the link to the repl?

Yes. It’s like the run command but for deployments.

Should just be able to copy the run command AFAIK.

1 Like

https://replit.com/@AndrewDeng3/Gizmo-Discord-Bot
From MilesWK

I don’t think so. There should be another run command. I believe build is what runs before that run command.