npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

docker-and-private-modules only specifies the linux syntax

in linux:
docker build --build-arg NPM_TOKEN=${NPM_TOKEN} .
in windows:
docker build --build-arg NPM_TOKEN=%NPM_TOKEN% .

https://docs.npmjs.com/docker-and-private-modules


also, usefull to mention the docker-compose yaml


Hi there,

Thanks for sharing this feedback. We’re working on revamping that article specifically, so I’ll add this to our issue tracker.