Updating NPM on fly

Hi!

I’m having a problem deploying to fly recently.
There’s been a new NPM version available and it seems to be preventing me from deploying:

 > [deps 4/4] RUN npm install --omit=dev:                                  
#11 51.93 npm notice 
#11 51.93 npm notice New patch version of npm available! 8.19.2 -> 8.19.3
#11 51.93 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.3>
#11 51.93 npm notice Run `npm install -g npm@8.19.3` to update!
#11 51.93 npm notice 
#11 51.93 npm ERR! code E404
#11 51.94 npm ERR! 404 Not Found - GET https://registry.npmjs.org/setGet - Not found
#11 51.94 npm ERR! 404 
#11 51.94 npm ERR! 404  'setGet@*' is not in this registry.
#11 51.94 npm ERR! 404 This package name is not valid, because 
#11 51.94 npm ERR! 404  1. name can no longer contain capital letters
#11 51.94 npm ERR! 404 
#11 51.94 npm ERR! 404 Note that you can also install from a
#11 51.94 npm ERR! 404 tarball, folder, http url, or git URL.

Is there a way to update npm on fly instance?

Thanks!

If I am not mistaken, npm here comes from the app’s dockerfile. Make sure to use a base image that has the latest npm, or install the latest version in the docker layer where required?