To use the image just run the following command:
docker run --name react -v "${projectPath}/reactDir":/src -p 3000:3000 hxhroniegss/react --dev-addr=0.0.0.0:3000
Note that ${projectPath} is the absolute path towards your react app directory reactDir
One command is all it takes to run your react project on localhost:3000 or you may prefer a different port, just modify this portion like -p ${another_port}:3000
Content type
Image
Digest
Size
23.5 MB
Last updated
about 8 years ago
docker pull hxhroniegss/react