A minimal web app that ships its own Dockerfile, used to demonstrate and
test building an app image from a repository.
server.jslistens onPORT(8080 by default) and answers/and/health.Dockerfilebuilds it onnode:22-alpineand runs it as an unprivileged user.
docker build -t example-docker-hello .
docker run --rm -p 8080:8080 example-docker-hello
The app runs as uid 10001 with a read only root filesystem. Write anything
you need to keep to /data, and anything temporary to /tmp.