- Introduction
- Prerequisites
- Available Commands
- Usage
- Docker Compose Configuration
- Customization
- Contributing
- License
This project uses Docker and Docker Compose to manage the development and deployment process of a containerized Streamlit app. The Makefile provides convenient commands to manage the Docker container.
- Home
- Data Generation
- EDA
- Playground
- Download
- Docker
- Docker Compose
- Make
- Run the hosted gh image
docker run -d -p 8501:8501 ghcr.io/tooniez/streamlit-container-app:latest
- Open the app in the browser
http://localhost:8501
The following commands are available through the Makefile:
This is the default command that runs the following sequence:
- Stops the existing container
- Rebuilds the Docker image
- Runs the rebuilt container
Stops and removes the Docker container.
Rebuilds the Docker image without using cache.
Runs the rebuilt Docker container in detached mode.
Removes the Docker image.
To use these commands, simply run make all
followed by the command name. For example:
This will execute the default sequence of stopping the container, rebuilding the image, and running the rebuilt container.
The project uses a Docker Compose configuration file (docker-compose.yml
) to define the service. The main service is named st-container
.
You can modify the Makefile to add more commands or adjust the existing ones according to your project needs.
If you want to contribute to this project, please make sure to follow the existing code style and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.