Skip to content

[Feature]: dockerize this project #99

@Satvik-Singh192

Description

@Satvik-Singh192

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 dev or npm run preview

docker-compose.yml

For easy running:

docker compose up

suggested difficulty: hard

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions