Skip to content

A very light weight docker image to perform node module installations.

License

Notifications You must be signed in to change notification settings

temando/docker-minimal-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Node Docker File

This project contains the Docker file to install node modules for projects. The official Node 4 image based on Alpine Linux installation with Yarn added for convenience.

Prerequisites

Install Docker to run docker commands.

Building the Docker Image

To build the image, run:

docker build -t {imagename} --build-arg SOURCE_COMMIT=$(git rev-parse --short HEAD) .

Note:

  • {imagename} can be any string.
  • Syntax shown above works in bash.

Log in to the Docker Image

To log in to the previously built Docker image, run:

docker run -ti {imagename} sh

{imagename} can be any string.

About

A very light weight docker image to perform node module installations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published