Node.jsĀ®, a versatile and scalable JavaScript runtime, empowers the creation of diverse applications, from basic command-line utilities to sophisticated conferencing platforms, thanks to its widespread adoption and extensive module ecosystem.
This specific NodeJS distribution is constructed using the
sourcemation/debian-13-slim base image and incorporates Node.js version 22
alongside Yarn Classic, specifically version 1.22.XX.
This image is optimized for build reproducibility and contains the packages needed to compile NodeJS, providing developers with all tools needed in more advanced NodeJS development - thus it's not a super small image.
Run a temporary container with the NodeJS REPL (don't forget the -it flags).
docker run --rm -it sourcemation/nodejs-22:latest
Serve the contents of the current directory with your NodeJS project using npm.
docker run --rm -p 3000:3000 -v "${PWD}:/your-project" -w "/your-project" -it sourcemation/nodejs-22:latest npm run start
Serve the contents of the current directory with your NodeJS project using yarn.
docker run --rm -p 3000:3000 -v "${PWD}:/your-project" -w "/your-project" -it sourcemation/nodejs-22:latest yarn start
This image uses the following environment variables:
NODEJS_VERSION=22.YY.ZZ
YARN_VERSION=1.22.XX
We'd love for you to contribute! You can request new features, report bugs, or submit a pull request with your contribution to this image on the Sourcemation GitHub repository.
Disclaimer: The sourcemation/nodejs image is not affiliated with the OpenJS Foundationā . The respective companies and organisations own the trademarks mentioned in the offering. The sourcemation/nodejs image is a separate project and is maintained by Sourcemationā .
A detailed risk analysis report of the image and its components can be found on the Sourcemation platformā
For more information, check out the {overview of NodeJSĀ®}(https://nodejs.org/ā ) page.
The base license for the solution (NodeJS) is the MIT License, among ASL 2.0, ISC and BSD where appropriateā .
Content type
Image
Digest
sha256:9c7b3922bā¦
Size
300.3 MB
Last updated
14 days ago
docker pull sourcemation/nodejs-22