A dev image for running a Streamlit app! 🎈
279
This is a Docker image for running Streamlit applications in development. It comes pre-configured with all the necessary dependencies to run a Streamlit app.
latest: The latest stable version of the image.streamlit: Specifically tagged for Streamlit usage.v1.0: Version 1.0 of the image.To pull the latest version of the image:
docker pull tonykip/streamlit-app:latest
To run the default Streamlit app using this Docker image, use the following command:
docker run -p 8501:8501 tonykip/streamlit-app
By default, the container will look for a streamlit_app.py file in the working directory.
Make sure your Streamlit app is named streamlit_app.py or modify the command to point to your app file.
You can set environment variables or customize the container using the following options:
Example:
docker run -p 8501:8501 -e ENV=production tonykip/streamlit-app
To mount a local directory to the container, use the -v option:
docker run -p 8501:8501 -v $(pwd):/app tonykip/streamlit-app
This command mounts the current directory to /app in the container, allowing you to develop your app locally while using the Docker container.
8501: Streamlit web server.If you want to build the image locally, clone the repository and run:
docker build -t tonykip/streamlit-app .
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For more information on Streamlit, visit the official documentation.
Happy Streamlit-ing! 🎈
Content type
Image
Digest
sha256:5ef5c2d9a…
Size
295.1 MB
Last updated
about 2 years ago
docker pull tonykip/streamlit-app