Skip to content

GreensterRox/docker-static-node.js-web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Static Server

Simple NodeJS static server.

  • Serves static files.
  • Mount path to static files at run-time

How To Use

Build it

docker build -t my-nodejs-static-server:latest .

Run It - Serve static files from your current directory

docker run -v ${PWD}:/static -d -p 80:80 --name nodejs-static my-nodejs-static-server

Tag it

docker tag -f my-nodejs-static-server:1.0 myRepo.com/my-nodejs-static-server:1.0

Publish it

docker push myRepo.com/my-nodejs-static-server:1.0

About

Static Web Server using Node.js built with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published