Docker | How to build and deploy war file in jboss container hosted in Docker

Viewed 6202

I have a jboss image hosted in Docker, along with several others. I am able to run the jboss image and use it as container to deploy webapps. Currently using IntelliJ to configure a Docker configuration and deploy war files directly from IntelliJ and pointing to the docker configuration within IntelliJ.

I am looking for ways by which I can deploy this war file directly in my jboss image at Docker. Basically looking at ways to deploy war file without any IntelliJ intervention, with the use of docker-compose to build jboss image along with added war targets successfully deployed. What sort of changes need to be done in jboss.yml file and Dockerfile for jboss image?

1 Answers
Related