Public | Automated Build

Last pushed: 6 months ago
Short Description
Alpine Linux, s6 process management running nginx and Node.js.
Full Description

alpine-nginx-nodejs

A Docker image for running nginx with Node.js, based on Alpine Linux.
This image belongs to a suite of images documented here.

Features

This image features:

Versions

See VERSIONS.md for image contents.
See NODEJS.md to find specific Node.js versions.

Usage

To use this image include FROM smebberson/alpine-nginx-nodejs at the top of your Dockerfile. Inheriting from smebberson/alpine-nginx-nodejs provides you with the ability to run nginx, within a container that has Node.js for easy configuration.

The container will automatically start nginx for you. For information about how to customise the nginx setup, and where to put your static files read the guide for smebberson/alpine-nginx.

The container won't automatically start or manage your Node.js application. For information about how to set this up, [read the guide for smebberson/alpine-nodejs][smebbersonalpinenodejsgithub].

Logging

nginx logs won't automatically stream to stdout. Read the guide for smebberson/alpine-nginx to learn how to access the logs.

If Node.js application logs to stdout (which console.log does) then you'll be able to review your logs using the standard Docker process.

Example

An example of using this image can be found in examples/user-nginx-nodejs.

Docker Pull Command
Owner
smebberson
Source Repository