Npm ver in docker

I have a project that is run in old npm version. How i can install old version in docker? I try with npm -g npm@ver but when i restart the docker is come back in new version.


Create a new image after writing a DOCKERFILE with instructions to install a specific NPM

My guess is that if you put a specific NPM on the running image and reboot the container, your record could disappear with PROCESS LAYER

Best Regards.