Skip to content

hoosin/alpine-nginx-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alpine-nginx-nodejs

A tiny docker image for JavaScript with major stream workflow CI (like jenkins), Only 72MB in size! 🎉🎉🎉

The latest tag is currently:

  • nginx:1.15.7-alpine

  • libuv:latest

  • nodejs:14.17.1

  • npm:7.17.0

  • yarn:1.22.10

Tags

To use a specific combination of nginx and node.js see the following table of available image tags.

Tag Nginx version Node.js version Npm version Yarn version
latest 1.15.7-alpine 14.17.1 7.17.0 1.22.10
10.16.0 1.15.7-alpine 10.16.0 6.9.0 1.16.0
8.14.0 1.15.7-alpine 8.14.0 6.4.1 1.16.0
6.10.3 1.15.7-alpine 6.10.3 3.10.10 1.16.0

Hacking

To test changes locally, you can edit this image and rebuild it, replacing the hoosin/alpine-nginx-nodejs image on your machine:

docker build -t hoosin/alpine-nginx-nodejs .

To return to the official image:

docker pull hoosin/alpine-nginx-nodejs

Use as base image

FROM hoosin/alpine-nginx-nodejs:latest

Example

An example of using this image can be found in example.