Skip to content

cannin/docker-nodejs-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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'

About

NodeJS with HTTP Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published