Sign inSign up

etiennepasteur/nginx-with-node

By etiennepasteur

•Updated 9 months ago

This Docker image provides an Nginx web server bundled with Node.js

Image
Developer tools
0

392

etiennepasteur/nginx-with-node repository overview

⁠nginx-with-node:1.29.4-alpine

⁠Overview

This Docker image provides an Nginx web server bundled with Node.js, tailored for serving and building web applications. It is based on the lightweight Alpine Linux distribution.

⁠Key Features
  • Nginx Version: 1.29.4
  • Node.js Version: v24.13.0, enabling server-side JavaScript execution alongside Nginx.
  • Alpine Linux: Lightweight Alpine Linux distribution.
⁠Usage

This image is perfect for scenarios where you need both an Nginx reverse proxy or static file server and Node.js in a single container. It can be used for continuous integration pipelines, building front-end assets, or serving Node.js applications behind Nginx.

⁠Building the Image

To build the image with a different Nginx version, use the --build-arg parameter:

docker build --build-arg NGINX_VERSION=1.29.4 -t nginx-with-node:1.29.4-alpine .
⁠Tags
  • 1.29.4-alpine
⁠License

This image is provided under the MIT License. See the LICENSE⁠ for more details.

⁠Dockerfile
ARG NGINX_VERSION="1.29.4"

FROM nginx:${NGINX_VERSION}-alpine

LABEL maintainer="[email protected]"
LABEL name="nginx-with-node:${NGINX_VERSION}-alpine"
LABEL version="1.0.0"
LABEL version.nginx=${NGINX_VERSION}

RUN apk add --no-cache \
    nodejs

Tag summary

Content type

Image

Digest

sha256:8c8e9d56f…

Size

48 MB

Last updated

9 months ago

docker pull etiennepasteur/nginx-with-node:1.29.4-alpine