/docker-node-js-webpack

Node With Docker - Continuous Integration and Delivery

Primary LanguageJavaScriptMIT LicenseMIT

docker-node-js-webpack

Webpack Node.js Application Running Inside Docker - Continuous Integration and Delivery Example

Docker

docker run -d -p 8080:8080 dev3l/docker-node-js-webpack

Retrieve the IP address of the machine in Windows / Mac usings the following command:

docker-machine ip default
curl http://192.168.99.100:8080

Project Setup

  • npm install

Local/Dev Use

  • npm run start
  • npm run production
    • Creates ./dist directory and necessary

Reference

http://mherman.org/blog/2015/03/06/node-with-docker-continuous-integration-and-delivery/#.VybN-2ArJhE