coleam00 / bolt.new-any-llm

Prompt, run, edit, and deploy full-stack web applications using any LLM you want!
https://bolt.new
MIT License
4.55k stars 1.88k forks source link

Docker containers instead of webcontainers #417

Open veerababumanyam opened 4 days ago

veerababumanyam commented 4 days ago

Describe the problem: I encounter limitations with the current web container setup, particularly when trying to utilize certain Python libraries that are essential for application. These limitations often lead to compatibility issues and hinder ability to leverage the full potential of Python's ecosystem, resulting in increased development time and complexity.

Describe the solution you'd like: I would like to propose the implementation of Docker containers as a replacement for the existing web containers. Docker offers a more flexible and isolated environment, allowing to easily manage dependencies and utilize a wider range of Python libraries without facing compatibility issues. This change would streamline development process, improve deployment consistency, and enhance application's performance by ensuring that all necessary libraries are included in the container.

Additional context: Implementing Docker would not only resolve current limitations but also align with modern development practices. Additionally, Docker's portability means that applications can run consistently across different environments (development, testing, production), reducing the risk of environment-related bugs.

rabejens commented 20 hours ago

I want to add on this: there could even be Kubernetes support. An increasing number of companies and also individuals with homelabs have started to embrace Kubernetes clusters. The LLMs also have varying knowledge of Kubernetes, they can at least set up basic deployments, jobs, statefulsets etc.