Sign inSign up

ralphv/simple-node-express

By ralphv

Updated about 3 years ago

A simple node http express server that responds to any path/method with some simple output.

Image
1

593

ralphv/simple-node-express repository overview

Purpose

Use this simple image in your quick projects to create containers that respond to any path/url/method with some simple output. Use it in your docker/k8 experiments/learning when you want a simple container to response to any http calls.

Environment variables:
  • SERVICE_NAME: Just a service name, an identity to give to the particular instance of this container, defaults to N/A
  • PORT: The port to listen to, defaults to 8080
To run
docker run -it --init --rm \
-p 8080:8080 \
-e PORT='8080' \
-e SERVICE_NAME='from-docker-run' \
--name simple-node-express \
ralphv/simple-node-express:latest
git

https://github.com/ralphv/simple-node-express

Tag summary

Content type

Image

Digest

sha256:627346aa4

Size

55.2 MB

Last updated

about 3 years ago

docker pull ralphv/simple-node-express