Sign inSign up

sourcemation/nodejs

By sourcemation

•Updated 4 days ago

Image
0

5.9K

sourcemation/nodejs repository overview

⁠NodeJS packaged by Sourcemation

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).

⁠Usage

Run a temporary container with the NodeJS REPL (don't forget the -it argument).

docker run --rm -it sourcemation/nodejs:latest
⁠Advanced usage examples

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

⁠Environment Vars, Ports, Volumes

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:

  • 3000 : the default NodeJS' builtin HTTP server port

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.

⁠Contributing and Issues

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⁠.

⁠Extra notes

⁠Image and its components Risk Analysis report

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.

⁠Licenses

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⁠.

Tag summary

Content type

Image

Digest

sha256:55997873a…

Size

123.6 MB

Last updated

4 days ago

docker pull sourcemation/nodejs