Skip to content

Instantly share code, notes, and snippets.

@vpalmisano
Created May 9, 2017 08:30
Show Gist options
  • Save vpalmisano/60e867ffcdcc3da0c404586172ac32e9 to your computer and use it in GitHub Desktop.
Save vpalmisano/60e867ffcdcc3da0c404586172ac32e9 to your computer and use it in GitHub Desktop.
NPM install with Docker
#!/bin/sh
docker run --rm -it -v $PWD:/workdir node:latest bash -c "cd /workdir; npm install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment