How to change npm download source when deploy by docker personally

i got thie error

Command failed: pnpm add @activepieces/piece-json-0.0.2@npm:@activepieces/[email protected] --prefer-offline --ignore-scripts --config.lockfile=false --config.auto-install-peers=true

i tried to change .npmrc file and set new source

then i restarted docker, but it didn’t work