🔧(compose) use 1000 as gid for all platforms for frontend-dev service#69
Conversation
On Mac OS gid is 20 and on linux it is 1000. The frontend Dockerfile set node user and group as owner of project resources. But the frontend-dev service use the local user when the service is running. This scenario prevents vite to write within node_modules folder so the frontend application is broken. In order to make the service platform agnostic, we always use 1000 as gid.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesDocker UID/GID fix for frontend-dev
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Purpose
On Mac OS gid is 20 and on linux it is 1000. The frontend Dockerfile set node user and group as owner of project resources. But the frontend-dev service use the local user when the service is running. This scenario prevents vite to write within node_modules folder so the frontend application is broken. In order to make the service platform agnostic, we always use 1000 as gid.
Summary by CodeRabbit