Commit 936f2cb
fix(docker): pre-create /home/node/.gemini with correct ownership (#747)
Docker bind-mounts auto-create missing parent directories as root.
When docker-compose mounts files into /home/node/.gemini/, the directory
ends up root-owned, causing gemini CLI to crash with EACCES when writing
projects.json.
Pre-create the directory and chown to node:node before switching to
USER node.
Closes #740
Co-authored-by: 超渡法師 <chaodu@openab.dev>1 parent 10ce0f9 commit 936f2cb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments