this images is an example of compiled nodejs app into alpine::latest images.
212
Run those commands to test the image:
docker pull magixus/alpine-node-example:latest
docker run -it --rm -p 3000:3000 --name nodejs magixus/alpine-node-example
for i in POST GET PUT DELETE
do
echo "use $i request \n"
curl -X $i localhost:3000
echo "\n"
done
you 'ill notice the express node server response like:

And the terminal output like:

Content type
Image
Digest
Size
23.1 MB
Last updated
over 6 years ago
docker pull magixus/alpine-node-example