IntelliJ IDEA 2017.3 Help

Deploying a web app into the Wildfly container

You can also add the corresponding Build artifact task to the Before launch task list. Then, your WAR artifact will be built automatically each time you execute the run configuration.

This Dockerfile sets jboss/wildfly as the base image and copies the local file <artifact-name>.war located in the same as the Dockerfile directory to the server deployment directory /opt/jboss/wildfly/standalone/deployments/.