Greetings to anybody following this thread. I just wanted to send through a notice that I have made some huge updates. Here’s the full README from my github repo:
A batteries included docker build including Streamlit + Visualization Tools + Other key tools
For a quickstart, run:
docker run -p 8080:8080 -e STREAMLIT_SERVER_PORT=8080 --restart always intelligentdesigns/streamlit-plus:latest
To run with your own app:
Install Docker Compose
Follow the following
git clone https://github.com/bigjoedata/streamlit-plus
nano docker-compose.yml # point the bind mount for /app to your own app folder. As part of the magic of Streamlit, any changes to the folder will be immedialey reflected in your Streamlit
docker build -t .
docker-compose up -d # launch in daemon (background) mode
To build your own, follow the above directions.
nano requirements.txt # Change dependencies as needed. You can also change the requirements_extra.txt or requirements_stbot.txt files for the other versions
nano Dockerfile # Change options if needed. Use Dockerfile_extra or Dockerfile_stbot depending on what you edited above
docker build -f Dockerfile -t streamlit-plus:latest . # Build the Dockerfile you edited above and change tag name similarly
Key packages include:
- Pandas Profiling & streamlit-pandas-profiling
The Container Tagged “Extra” includes:
- Spacy & Spacy-streamlit
- Facebook Prophet
The Container Tagged “stbot” only includes:
And more. See requirements for versions and full list of included packages.
Note: I have built this as a multi-stage build to try to keep the size down, however it is still ~256MB compressed / 950MB uncompressed. This package includes many dependencies which inflate the size. You can roll your own by editing the requirements.txt and rebuilding, but some required packages are large such as Pyarrow which is a Streamlit dependency and > 200MB alone.