Sign inSign up

kmarasovic/hello-node

By kmarasovic

•Updated almost 2 years ago

A simple Node.js Hello World app with Express. Supports "name" query for personalized message.

Image
Languages & frameworks
0

903

kmarasovic/hello-node repository overview

The kmarasovic/hello-node Docker image runs a simple Node.js "Hello World" app using Express. To use this image, follow these steps:

  1. Pull the image from Docker Hub: docker pull kmarasovic/hello-node

  2. Run the Docker container: docker run -p 8013:3000 hello-node This will expose port 8013 on your local machine, allowing you to access the app.

  3. Access the app:

    • Open your browser and go to http://localhost:8013 to see the default "Hello, World!" message.
    • To get a personalized message, you can use the name query parameter, e.g., http://localhost:8013?name=Jane will return "Hello, Jane!".

Tag summary

Content type

Image

Digest

sha256:b2e2cf3cd…

Size

389.9 MB

Last updated

almost 2 years ago

docker pull kmarasovic/hello-node