Thank you for developing streamlit as it helps me to deploy my data science project easily.
The above has been successful and I was thinking if there is a need to use nginx/gunicorn to serve more people. it’s just suppose to be a simple Machine Learning portfolio website with some interactive charts and perhaps to learn more about data engineering. I have deployed nginx and gunicorn via Heroku and it’s very easy but I think AWS should be a little more difficult.
docker pull andrewng88/streamlit:firsttry
( if you guys want to play with it )
Also I’m using Linux AMI ( free tier ) at the moment. do I need change to something else?
I did a search and there is some nginx config that pops up but I’m really unsure how to set this up.
I just added this to my docker.
# streamlit-specific commands RUN mkdir -p /root/.streamlit RUN bash -c 'echo -e "\ [general]\n\ email = \"\"\n\ " > /root/.streamlit/credentials.toml' RUN bash -c 'echo -e "\ [server]\n\ enableCORS = false\n\ " > /root/.streamlit/config.toml'
Please be gentle as I’m really in the learning stage and would want to present a good portfolio.