]> BookStack Code Mirror - bookstack/commit
Docker: Fix permission with node service by adding user key
authorAbijeet <redacted>
Tue, 26 Jan 2021 18:50:48 +0000 (00:20 +0530)
committerAbijeet <redacted>
Sun, 31 Jan 2021 11:27:30 +0000 (16:57 +0530)
commitba2033a8fbb1ab3607599d4bc82456a4aa6bfe95
treef4d68d9f6e91c2d466111d2f7138d5148c3a7c9c
parent44c41e9e4dbe31f071b8c87ffae77ad6737c2cbc
Docker: Fix permission with node service by adding user key

Fixes the following error:

glob error:
[Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'scandir',
  path: '/root/.npm/_logs'
}

On Linux, these lines ensure file ownership is set to your host
user/group
readme.md