This docker image provides a development environment with Create React App. Optionally Redux can also be utilised for larger projects
There is a docke-compose.yml included in this directory. This is porbably the quickest and easiest way to get up and running.
APPNAME environment variablemyapp/app/$APPNAME inside the container/app volumeREDUX environment variable to true, Redux is not included by defaultMATERIAL_UI to true$(pwd) = Your Local directory you wish for the app to be mapped to.
docker run -ti -p 3000:3000 -e APPNAME=react-app -v $(pwd):/app jadog/docker-reactdocker run -ti -p 3000:3000 -e APPNAME=react-app -e REDUX=true -v $(pwd):/app jadog/docker-reactdocker run -ti -p 3000:3000 -e APPNAME=react-app -e MATERIAL_UI=true -v $(pwd):/app jadog/docker-reactContent type
Image
Digest
Size
259 MB
Last updated
almost 9 years ago
docker pull jadog/docker-react