Skip to content

About

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

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors