Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[infrastructure] devコンテナ内でのnode_modulesへの書き込み権限がない #28

Open
Haur514 opened this issue Mar 27, 2023 · 2 comments
Milestone

Comments

@Haur514
Copy link
Contributor

Haur514 commented Mar 27, 2023

私の環境ではなぜかデフォルトではnode_modulesの所有権,ユーザグループがともにrootになっている.
npm installする時にchmodchownする必要があるため,変更して欲しい.

image

@Haur514
Copy link
Contributor Author

Haur514 commented Mar 27, 2023

開発環境には,
MacBook Pro Apple M1 Ventura 13.0.1
vscode
を利用しています.

権限を書き換えれば問題ないため,本issueの優先順位は低いです.

@h-takesg
Copy link
Contributor

h-takesg commented Mar 27, 2023

volumeマウント時に所有権がおかしくなる
たぶんこのへんが参考になる
Dockerfileはあまりいじりたくない(保守コスト)ので対応はしていない

一度chownすると以降はコンテナをrebuildしてもvolumeを消しても問題ないので放置してる

気持ち悪いので解決できるならしたい

@grtw2116 grtw2116 added this to the v1.0.0 milestone May 20, 2023
@Haur514 Haur514 modified the milestones: v1.0.0, future work Jun 3, 2023
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

No branches or pull requests

3 participants