Skip to content

wgbartley/nnpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

nnpm

Checks docker-compose.yml for the NodeJS version being used in a container and runs the NPM command inside a Docker container for the specified NodeJS version. This is useful if you have the NodeJS script/app in a local directory on the host but run it with a different version of NodeJS in the Docker container.

Installation

  1. Copy the script to /usr/local/bin: cp nnpm.sh /usr/local/bin/nnpm
  2. Make the script executable: chmod +x /usr/local/bin/nnpm

About

Run npm command for a different version of NodeJS being used in a Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages