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


(Johngrabner) #1

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


(Johngrabner) #2

also, usefull to mention the docker-compose yaml


(Kiera Manion-Fischer) #3

Hi there,

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