Skip to content

New-Future/WWOF-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WWOF-docker

newfuture/wwof : the docker image for WWOF

Details

  • based on alpine (the mini size docke image)
  • include node.JS, npm, supervisor, ws

Usage

in the path of WWOF node server

run with node to test the app.js

docker run -it --rm -p 8888:8888 -v "PATH/OF/WWOF/NODE/":/newfuture/wwof newfuture/wwof node app.js

run with supervisor watch (use npm)

docker run --name wwof -p 8888:8888 -v "$(pwd)":/newfuture/wwof newfuture/wwof npm run w