arrowheadapps / strapi-connector-firestore

Strapi database connector for Firestore database on Google Cloud Platform.
MIT License
166 stars 15 forks source link

Example project: EACCES in npm install #65

Closed brettwillis closed 3 years ago

brettwillis commented 3 years ago

Commit 4a1cfa52bc66db66a61bd5ad8d3a35c05a41208e introduced use of the non-privileged user in docker install and run, both to allow use of patch-package without unsafe permissions (user needs to be set before install), and as security best-practice (user can be set after install).

While this works for local Docker build, it does not work for remote cloud build using gcloud as reported by @zirho. I could just move the user statement to after the install command but I want to understand why it works for local build but not remote build...