Example of a Create-react-app build with Maven and deployed as WAR file to a Docker Wildfly server.
npm install
mvn clean package
docker run -it -p 8080:8080 -v $PWD/deployments/:/opt/jboss/wildfly/standalone/deployments/ jboss/wildfly
You can now access your Create-react-app on http://localhost:8080/.