Deploying a streamlit app in openshift

So I want to deploy my streamlit app in openshift, however, I cannot use a docker image ( to let it run the streamlit run command after it done builiding).

I am using S2I in openshift and sourcing the code from a git repo to build it ( since I cannot use docker for company reasons ) but when the app is built in openshift, i am not able to brose ( obviously because the command was not run). How can I solve this issue?

I was thinking of creating a dockerfile but I don’t know if that is going to help

For those who are having the same issue, a dockerfile for the build instead of s2i helped in solving the problem

1 Like

Can you share the dockerfile?