Sign inSign up

cannin/nodejs-http-server

By cannin

Updated almost 7 years ago

NodeJS with HTTP Server

Image
1

100K+

cannin/nodejs-http-server repository overview

Dockerfiles for the automated building of container images on Docker Hub

Build

docker build -t cannin/nodejs-http-server .

Run nodejs-http-server

docker run --name NAME -p 8080:8080 -v HOST_PATH:GUEST_PATH -w GUEST_PATH -t cannin/nodejs-http-server
docker exec -t -i NAME /bin/bash # Executable shell

Enable options

docker run --name NAME -p 80:80 -v HOST_PATH:GUEST_PATH -w GUEST_PATH -t cannin/nodejs-http-server sh -c 'http-server -p 80 -d false'

Tag summary

Content type

Image

Digest

sha256:16e1c2b36

Size

135.2 MB

Last updated

almost 7 years ago

docker pull cannin/nodejs-http-server