Welcome to this step-by-step guide on building a simple Streamlit app that hosts a machine learning model—and deploying it using Docker. This project is designed for beginners, so no prior experience with Streamlit or Docker is required!
In this project, you'll learn how to:
- Create a basic web interface with Streamlit.
- Integrate a machine learning model into the app.
- Containerize the app using Docker for easy deployment.
By the end of this guide, you'll have a working app running locally and a Docker image you can deploy anywhere.
In terminal: pip install -r requirements.txt
Add code in app.py
In terminal: streamlit run app.py
In terminal: docker compose up