Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

Run:

Requires this running first: https://hub.docker.com/r/citypaul/node-book-mysql-database/

Checkout the source code here:
https://github.com/citypaul/docker-microservices-rest-api

cd into directory
nvm install 7.7.2 && nvm use 7.7.2
npm install

docker run -p 8080:8080 -d --link book-database:books-database -v /yourworkspace:/var/workspace citypaul/node-book-rest-api run dev

If you docker logs -t [containerid], you should see when you make changes to the javascript files, node restarts inside the container.

Running:

docker run -p 8080:8080 -d --link book-database:books-database -v /yourworkspace:/var/workspace citypaul/node-book-rest-api should run node without nodemon.

Docker Pull Command
Owner
citypaul

Comments (0)