Sign inSign up

pablofelix/react

By pablofelix

Updated about 9 years ago

reactjs + alpine

Image
0

239

pablofelix/react repository overview

This react image is doing with create-react-app. Use react as command tool. You can use it offline.

commands -> rstart, rbuild, rtest, reject, rcontainer, rcreate

create a new project, this option create project react in your directory (pwd) in host and start react server.

docker run -it --rm -v $PWD:/app/ -p 3000:3000 pablofelilx/react rcreate

copy source from host to container and enter in container docker run -it --rm -v $PWD:/app/ -p 3000:3000 pablofelix/react rcontainer

copy source from host to container and start react docker run -it --rm -v $PWD:/app/ -p 3000:3000 pablofelix/react rstart

Testing docker run -it --rm -v $PWD:/app/ pablofelix/react rtest

Directory schema: app/ README.md node_modules/ package.json public/ index.html favicon.ico src/ App.css App.js App.test.js index.css index.js logo.svg


Updated 30/07/2017
changes from previous version: change enviroinments for commands

Tag summary

Content type

Image

Digest

Size

104 MB

Last updated

about 9 years ago

docker pull pablofelix/react