Node.jsĀ® is a cross-platform, scalable JavaScript engine. Accompanied by its popularity, and rich module collection, it lets you build various tools, ranging from simple command-line applications to conferencing platforms.
This NodeJS distribution is provided by the downstream Rocky Linux 9 packaging
team in the version respective to that system (in particular, the nodejs:20
module, providing version 20.16).
Run a temporary container with the NodeJS REPL (don't forget the -it
argument).
docker run --rm -it sourcemation/nodejs:latest
Serve the contents of the current directory with your NodeJS project.
docker run --rm -p 3000:3000 -v "${PWD}:/your-project" -w "/your-project" -it sourcemation/nodejs:latest npm run start
This image uses the following environment variables:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
This image exposes the following ports:
Please note that the ports need to be either manually forwarded with the
-p option or let Docker choose some for you with the -P option.
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Ā®ā page.
The base license for the solution (NodeJS) is the MIT License, among ASL 2.0, ISC and BSD where appropriateā . The licenses for each component shipped as part of this image can be found on the image's appropriate Sourcemation entryā .
Content type
Image
Digest
sha256:55997873aā¦
Size
123.6 MB
Last updated
4 days ago
docker pull sourcemation/nodejs