Is it possible to volume map a properties file into the class path of a webapp that has been deployed on tomcat inside a docker container? When I try doing that it replaces the contents of the root folder for example:
if the v-map is:
-v < host-folder >/x.properties:< container-path-to-tomcat >/webapps//WEB-INF/classes/x.properties
Then the entire contents of < container-path-to-tomcat >/webapps//WEB-INF/ gets replaced. Any insights? The question is whether replacing deployed artifacts inside a container is even possible?