/create-react-app-maven-example

Example of a Create-react-app build with Maven and deployed as .war file to a Docker Wildfly server.

Primary LanguageJavaScript

Create-react-app Maven WAR file example

Example of a Create-react-app build with Maven and deployed as WAR file to a Docker Wildfly server.

Prepare

npm install

Build

mvn clean package

Run

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/.