Last active
May 26, 2018 18:05
-
-
Save ayoayco/e1817aa6180f7325b52f17a132f9a388 to your computer and use it in GitHub Desktop.
Run a Docker image of Node.js and provide it the current working directory as data volume, then run npm start within the running Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -p 8080:3000 -v %cd%:/var/www -w "/var/www" node npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Important Note here