Skip to content

painless-software/docker-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

npm

dockeri.co

MIT License GitHub issues GitHub PRs

Node Package Manager

Convenience wrapper around the well-known JavaScript runtime package manager, for local development with Docker Compose and anything that runs on Node.js. Extends the official node image with a customizable entrypoint to run executables of node modules.

Supported Tags

  • latest image layers image size (node base image with adapted entrypoint)

Usage

Add a pseudo-service to your Docker Compose configuration, e.g.

  npm:
    image: painless/npm
    volumes:
      - .:/var/www/html

then run

docker-compose run npm <command>

to let npm modify the project files on your Docker volume.

See docker-compose.override.yml in the Painless Continuous Delivery cookiecutter for an example.

Development

Releases

No releases published

Packages

No packages published