Sign inSign up

energonhq/nodejs

By energonhq

Updated 7 months ago

Image
0

1.4K

energonhq/nodejs repository overview

Node.js Build Environment

Docker Pulls Docker Image Size Docker Image Version

Alpine-based Node.js 20 LTS image with build tools for compiling native modules, optimized for CI/CD pipelines.

Quick Start

docker pull energonhq/nodejs:latest
docker run --rm -v $(pwd):/app energonhq/nodejs:latest npm install
docker run --rm -v $(pwd):/app energonhq/nodejs:latest npm run build

Features

  • Node.js 20.10.0 LTS with npm included
  • Python 3 and build tools (gcc, g++, make) for native module compilation
  • Git and SSH client for private repository dependencies
  • Common utilities: bash, curl, wget, jq
  • Optimized npm config (no update notifier, no funding messages)

Supported Tags

  • latest - Most recent stable build
  • 20.10.0, 20.10, 20 - Semantic version tags

Quick Reference

KeyValue
Base Imagenode:20.10.0-alpine3.18
Archamd64, arm64
Size~300 MB
Workdir/app
Userroot

Environment Variables

VariableDescriptionDefault
NODE_ENVNode.js environment-
NPM_TOKENNPM registry auth token-

Volumes

PathPurpose
/appMount your project here
/root/.npmrcNPM registry configuration
/root/.sshSSH keys for private repos (mount read-only)

Tag summary

Content type

Image

Digest

sha256:782012758

Size

150.2 MB

Last updated

7 months ago

docker pull energonhq/nodejs