generated from OPCODE-Open-Spring-Fest/template
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
Description
So, what is it about?
📦 Feature Request: Add Docker Support for the Entire Project
🚀 Summary
I would like to request the addition of full Docker support to the AlgoVisualizer project.
This feature would allow developers and contributors to run the project inside a consistent, isolated environment without needing to manually install dependencies or manage different local setups.
✅ Why Docker Support is Valuable
1. Simplified Setup
- Zero setup required beyond having Docker installed
- No need to manually install Node.js
- No dependency conflicts
2. Consistent Development Environment
Every contributor gets the same environment, reducing:
- "Works on my machine" issues
- OS-specific bugs
- Node version mismatches
3. Easier Deployment
A Docker image allows:
- One-command deployment
- Hosting on any cloud provider
- Ability to containerize for future backend extensions (if added)
📘 Proposed Implementation
✅ Dockerfile
Create a Dockerfile (likely using Node 18+ Alpine):
- Install dependencies
- Copy project files
- Run
npm install - Expose port 5173
- Set default command:
npm run devornpm run preview
✅ docker-compose.yml
For easy running:
docker compose upsuggested difficulty: hard
Code of Conduct
- I agree to follow this project's Code of Conduct