Node.js in Alpine Linux with s6-overlay and Nginx
10K+
Nginx is configured as reverse proxy, proxying to a Node.js app running on
NODE_PORT.
8080/etc/nginx/http.d/PUID - user ID to run as (default: 1000)PGID - group ID to run as (default: 1000)NGINX_LOG_ALL - enable logging of HTTP 200 and 300 responses (accepts: true, false default: false)NGINX_PORT - outward facing Nginx port (default: 8080)NODE_PORT - Node app port for Nginx to proxy to (default: 3000)WEB_ROOT - default: /var/www/htmlFIX_PERMISSIONS - run chown on WEB_ROOT during init (accepts: true, false default: false)TZ - set timezoneGitHub: https://github.com/moonbuggy/docker-base-images
DockerHub: https://hub.docker.com/r/moonbuggy2000/alpine-s6-node-nginx
Content type
Image
Digest
sha256:0c6def783…
Size
59.6 MB
Last updated
over 1 year ago
docker pull moonbuggy2000/alpine-s6-node-nginx:24.1.0