Skip to content

fix(docker): resolve runtime dependency and container startup issues#450

Merged
Nitya-003 merged 5 commits into
Nitya-003:mainfrom
MeghPatel-007:fix/docker-runtime-dependencies
Jun 20, 2026
Merged

fix(docker): resolve runtime dependency and container startup issues#450
Nitya-003 merged 5 commits into
Nitya-003:mainfrom
MeghPatel-007:fix/docker-runtime-dependencies

Conversation

@MeghPatel-007

Copy link
Copy Markdown
Contributor

📌 Overview

Fix Docker runtime dependency and container startup issues across the local development environment.

This PR resolves multiple runtime-level blockers discovered after frontend image build succeeded, including Node.js version incompatibilities, missing runtime dependencies, and container startup failures affecting Frontend, Backend, and Hardhat services.

Changes include updating runtime environments and improving dependency initialization to allow containers to boot successfully.


🛠️ Type of Change

  • ⛓️ Smart Contract (Solidity changes, Gas optimization)
  • 💻 Frontend (UI/UX, React components, Tailwind)
  • ⚙️ Backend (API routes, MongoDB schemas, Middleware)
  • 📄 Documentation (README, Roadmap updates)
  • 🧪 Testing (Hardhat tests, Jest/Vitest)

🔗 Related Issue

Closes #442


🧪 Testing & Verification

  • Smart Contracts: NA
  • Frontend: Yes — verified container starts successfully using Docker
  • Integration: Yes — verified local Hardhat node connectivity and container startup flow

Verification steps:

  1. Clone repository
  2. Configure .env
  3. Run:
docker compose up --build
  1. Confirm:

    • Frontend starts successfully
    • Backend starts and loads dependencies
    • Hardhat node initializes correctly
    • MongoDB accepts connections

📸 Screenshots / Demos

Attach:

  • Docker containers running
image
  • Frontend startup logs
image
  • Hardhat startup logs
image

✅ PR Checklist

  • My code follows the project's style guidelines.
  • I have commented my code, particularly in complex areas (not applicable)
  • I have updated the documentation accordingly.
  • My changes generate no new warnings.

💬 Additional Notes

This PR focuses only on Docker runtime dependency resolution and container startup compatibility.

Application-level issues (blockchain initialization, environment configuration, or runtime business logic errors) remain outside the scope of this PR.

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

@MeghPatel-007 is attempting to deploy a commit to the Nitya Gosain's projects Team on Vercel.

A member of the Team first needs to authorize it.

@MeghPatel-007

Copy link
Copy Markdown
Contributor Author

Implemented the runtime dependency and build stabilization changes in this branch.

Summary of what was addressed:

  • Fixed backend startup/runtime issues and dependency resolution
  • Corrected verification flow issues (idempotency propagation, audit logging consistency, failure metadata, export alignment)
  • Fixed verification test reliability and removed unintended DB/test coupling
  • Updated CSV validation to support valid partial header sets
  • Resolved frontend production build failure caused by React 19 + Radix dialog typing incompatibility
  • Updated Add Batch tests to satisfy current client-side validation requirements
  • Synced lockfiles and runtime packages
  • Updated Docker and compose configuration to improve container startup consistency

Verification performed:

  • Backend verification tests passing
  • Frontend test suite passing
  • npm run build validated after dialog typing fix
  • Docker containers build/start successfully with updated configuration

This PR is intended to unblock runtime execution and CI/build stability. Please review for scope alignment and let me know if you'd prefer splitting infrastructure and application fixes into separate PRs.

@Nitya-003 Nitya-003 added bug Something isn't working gssoc:approved gssoc'26 approved quality:clean *1.2 for contributor +5 pts for mentor level:intermediate 35 pts for contributor 20 pts for mentor type:bug labels Jun 20, 2026
@Nitya-003 Nitya-003 merged commit bb32cc7 into Nitya-003:main Jun 20, 2026
5 of 6 checks passed
@MeghPatel-007 MeghPatel-007 deleted the fix/docker-runtime-dependencies branch June 20, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working gssoc:approved gssoc'26 approved level:intermediate 35 pts for contributor 20 pts for mentor quality:clean *1.2 for contributor +5 pts for mentor type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Docker containers fail at runtime due to missing dependencies and incompatible Node.js version

2 participants