Skip to content

fix: updated frontend Dockerfile to skip Cypress binary download - #20

Open
kettest96 wants to merge 1 commit into
iam-veeramalla:composefrom
kettest96:fix/frontend-dockerfile
Open

fix: updated frontend Dockerfile to skip Cypress binary download#20
kettest96 wants to merge 1 commit into
iam-veeramalla:composefrom
kettest96:fix/frontend-dockerfile

Conversation

@kettest96

Copy link
Copy Markdown

This PR fixes issues with the frontend Dockerfile to ensure smooth local development and container builds.

Changes Made

Updated Dockerfile to include ENV CYPRESS_INSTALL_BINARY=0

Prevents unnecessary Cypress binary download during npm install.

Reduces build time and avoids potential build failures inside Docker.

Verified frontend runs correctly on http://localhost:5173 after build.

Cleaned up dependencies (node_modules / package-lock.json) before install for consistency.

✅ Why This Fix Is Important

Original Dockerfile caused build warnings/errors due to Cypress attempting to install a large binary (not required for runtime).

Developers running locally or using Docker images no longer face failed builds.

This keeps the repo more beginner-friendly and reduces onboarding friction.

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