Webpack Node.js Application Running Inside Docker - Continuous Integration and Delivery Example
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
- npm install
- npm run start
- Runs a local server with an instance of the application available
- http://localhost:8080
- npm run production
- Creates ./dist directory and necessary