bcgov / platform-services-registry-api

Platform services registry API
Apache License 2.0
2 stars 1 forks source link

Update Dockerfile to node:18.18.2-alpine3.18 #85

Closed okanji closed 9 months ago

okanji commented 9 months ago

Api is crash looping with this log:

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1005160000:0 "/.npm"

This PR is a potential fix

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication