Skip to content

cli to run node applications as a docker container

Notifications You must be signed in to change notification settings

amurf/docker-node-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-node-run

CLI to run node projects in a docker container.

Useful

Add this to your .bashrc file:

alias node-run='docker run -it --rm -p 8080:8080 -v "$PWD:/node-run" amurf/node-run'

note: you may need to update the default port mapping

Examples

Running a simple express app

cd node-express-application
node-run node server.js

or

Running npm commands

cd vuejs-app/
node-run npm run dev

or

Running webpack

cd webpack-app/
node-run webpack

About

cli to run node applications as a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages