Run npm in docker with your non-root user and in your current working directory.
323
The Dockerfile in this repository builds an alpine:3.7 container
which lets you run commands inside the container using a UID and GID
which are passed in environment variables from outside the container,
so that any files created in a volume mount can be created as the user
and group who initiated docker run. It also has npm installed.
To download: docker pull cliwrap/npm
To run npm in the current directory, use the included script npm
Content type
Image
Digest
Size
16.7 MB
Last updated
over 5 years ago
docker pull cliwrap/npm