nacanori
8/26/2016 - 10:03 AM

Run the sample of redux with the docker container

Run the sample of redux with the docker container

Use redux example.

git clone -> docker pull & run -> start web app!!

$ git clone https://github.com/reactjs/redux.git
$ cd redux/examples/counter

$ docker pull node
$ docker run -it -v `pwd`:/tmp -p 8080:3000 node /bin/bash

# cd tmp
# npm install
# npm run start

=> http://localhost:8080 in your browser