This Docker image provides an Nginx web server bundled with Node.js
392
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.
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.
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 .
1.29.4-alpineThis image is provided under the MIT License. See the LICENSE for more details.
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
Content type
Image
Digest
sha256:8c8e9d56f…
Size
48 MB
Last updated
9 months ago
docker pull etiennepasteur/nginx-with-node:1.29.4-alpine