chore: Update Dockerfile for React 19 compatibility#7
Closed
slmingol wants to merge 3 commits intoand-computers:mainfrom
Closed
chore: Update Dockerfile for React 19 compatibility#7slmingol wants to merge 3 commits intoand-computers:mainfrom
slmingol wants to merge 3 commits intoand-computers:mainfrom
Conversation
- Add Dockerfile with Node.js build and Nginx production stages - Add docker-compose.yml for local development with build - Add docker-compose.simple.yml for running from GHCR - Add .dockerignore to optimize build context - Use Debian-based Node image for ARM compatibility
- Upgrade React & React DOM to v19.2.4 - Upgrade date-fns from v2 to v4 - Upgrade prettier from v2 to v3 - Upgrade react-spring from v9 to v10 - Upgrade query-string from v8 to v9 - Upgrade tailwind-merge from v1 to v3 - Upgrade ua-parser-js from v1 to v2 - Upgrade Parcel to v2.16.4 - Upgrade lucide-react to v0.575.0 - Upgrade Tailwind CSS to v3.4.19 - Upgrade all @radix-ui packages to latest versions - Upgrade other dependencies to latest compatible versions All tests passing with legacy peer deps for React 19 compatibility
- Upgrade to Node 20 (required by rimraf@6 and other packages) - Switch from npm ci to npm install --legacy-peer-deps for React 19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR updates the Dockerfile to support React 19 and newer dependencies.
Changes
npm citonpm install --legacy-peer-depsContext
This change complements PR #6 (dependency upgrades) and PR #5 (Docker support), ensuring the Docker build works with the latest versions including React 19.2.4.
Testing
✅ Docker build successful
✅ Container runs correctly on http://localhost:3000
✅ All functionality working with React 19
Author
Submitted from fork: https://github.com/slmingol/react-connections-game