/docker-nodejs

Docker NodeJS Base Images

Primary LanguageDockerfileMIT LicenseMIT

tiredofit/nodejs

Introduction

Dockerfile to build a NodeJS base image for building applications.

This Container uses [Alpine 3.6] and [Debian:stretch] as a base.

Changelog

Authors

Table of Contents

Prerequisites

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:

  • 4:latest - Node JS 4 - Alpine 3.6
  • 4:debian-latest - Node JS 4 - Debian Stretch
  • 6:latest - Node JS 6 - Alpine edge
  • 6:debian-latest - Node JS 6 - Debian Stretch
  • 8:latest - Node JS 8 - Alpine 3.6
  • 8:debian-latest - Node JS 8 - Debian Stretch
  • 8:latest - Node JS 8 - Alpine 3.6
  • 9:debian-latest - Node JS 9 - Debian Stretch
  • 9:latest - Node JS 9 - Alpine 3.6
  • latest - Node JS 9 - Alpine edge

Quick Start

Start the container using:

docker-compose up

Data-Volumes

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