Sign inSign up

ihneo/node

By ihneo

•Updated almost 4 years ago

NodeJs Dockerfiles with additional libraries (mainly for our needs)

Image
0

2.0K

ihneo/node repository overview

⁠NODEJS

NodeJs Dockerfiles with additional libraries (mainly for our needs)

⁠Example of Usage

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> "$@"

⁠Dockerhub

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>

⁠Example of usage with the images available at Dockerhub

#!/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> "$@"

Tag summary

Content type

Image

Digest

sha256:00aba10c8…

Size

63.3 MB

Last updated

almost 4 years ago

docker pull ihneo/node