jboss-dockerfiles / business-central

MIT License
44 stars 65 forks source link

Is it possible to build and deploy my project as part of the dockerfile? #111

Closed Ayyub-Omer closed 1 year ago

Ayyub-Omer commented 1 year ago

I am able to automatically create the space and project by copying the niogit folder from a configured instance, however, I always have to go to the project in business central and manually press the deploy button to deploy the process upon creating a new container. As can be seen in the top right of the following image from business central:

image

This is further complicated by the fact that my production environment usually does not have internet so the deployment fails unless I get IT to open the firewall for a bit. Is it possible to also build and deploy the process from the dockerfile, so that I don't need to deploy it manually and it doesn't require internet access for the build?

Ayyub-Omer commented 1 year ago

I figured it out, I needed to copy the kie repository in the dockerfile as well, the deployments were stored in /opt/jboss/.m2 in my case. I guess it depends on the specific set up of the kie server for each deployment.