Skip to content

tiredofit/docker-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github.com/tiredofit/docker-nodejs

Docker Pulls Docker Stars

About

Dockerfile to build a NodeJS base image for building/serving applications. This container uses Alpine and Debian as a base.

Changelog

Maintainer

Table of Contents

Prerequisites and Assumptions

None.

Dependencies

None.

Installation

Automated builds of the image are available on Docker Hub and is the recommended method of installation.

docker pull tiredofit/nodejs:(image tag)

The following image tags are available:

  • 10:latest - Node JS 10 - Alpine 3.13
  • 10:debian-latest - Node JS 10 - Debian Buster
  • 12:latest - Node JS 12 - Alpine 3.13
  • 12:debian-latest - Node JS 12 - Debian Buster
  • 14:latest - Node JS 14 - Alpine 3.13
  • 16:latest - Node JS 16 - Alpine 3.13
  • 14:debian-latest - Node JS 14 - Debian bBuster
  • 16:debian-latest - Node JS 16 - Debian bBuster

Quick Start

Start the container using:

docker-compose up

Persistent Storage

This a base image, so no data volumes are exposed.

Environment Variables

No environment variables are exposed other than the base environment variables.

Networking

No networking ports are exposed.

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it nodejs bash

References