I am trying to deploy webapp in tomcat using app directory extracted from war file but tomcat is deleting the app directory.
Due to security reasons, I am not allowed to copy war file to tomcat webapps directory. So, while building the docker image, I have copied the folder extracted from the war file to the tomcat webapps directory and I have verified that the folder is copied. But after the docker image is built, I ran the container and checked the webapps folder content. The extracted app folder is not present. It somehow got deleted. How to fix this ?