Skip to content

chore: add docker configuration for local development#79

Open
Shubham15986 wants to merge 1 commit into
RECursion-NITD:mainfrom
Shubham15986:feature/dockerize-project
Open

chore: add docker configuration for local development#79
Shubham15986 wants to merge 1 commit into
RECursion-NITD:mainfrom
Shubham15986:feature/dockerize-project

Conversation

@Shubham15986

@Shubham15986 Shubham15986 commented Jun 10, 2026

Copy link
Copy Markdown

Description

This PR introduces the Docker configuration required to run the frontend inside a container. It is designed to work seamlessly with the central docker-compose.yml orchestration file located in the RECursionNITD-website backend repository.

Changes Made

  • Dockerfile: Added a lightweight Node 20 container to run the React development server. It includes aggressive timeout and retry configurations for npm install to prevent transient ECONNRESET network drops during the initial build phase.
  • .dockerignore: Added to keep the massive node_modules and local build outputs out of the container context.

Note to Reviewers

This repository is orchestrated from the backend. The backend's compose file automatically mounts the local src/ and public/ directories into this container to enable seamless hot-reloading for frontend developers, while automatically injecting the correct REACT_APP_BACKEND_URL environment variables.

Note: This PR must be merged at the exact same time as the corresponding Backend Docker PR. The central docker-compose.yml orchestrator that uses this new Dockerfile is located over in the backend repository.

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

@Shubham15986 is attempting to deploy a commit to the RECursion's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant