NodeJs Dockerfiles with additional libraries (mainly for our needs)
1.8K
NodeJs Dockerfiles with additional libraries (mainly for our needs)
Move to the folder containing the desired Dockerfile.
Build the image
docker build -t <dockertag> .
Create a shell script called <command><version>.sh with this content :
#!/bin/bash
docker run --rm --interactive --tty \
--workdir /usr/src/app \
--volume $PWD:/usr/src/app \
--user $(id -u):$(id -g) \
<dockertag> <command> "$@"
All images are available at : https://hub.docker.com/r/ihneo/node
You can pull all images with the command :
docker pull ihneo/node:<dockertag>
Dockerfile links#!/bin/bash
docker run --rm --interactive --tty \
--workdir /usr/src/myapp \
--volume $PWD:/usr/src/myapp \
--user $(id -u):$(id -g) \
ihneo/node:<dockertag> <command> "$@"
Content type
Image
Digest
sha256:00aba10c8…
Size
63.3 MB
Last updated
over 3 years ago
docker pull ihneo/node