I had permission issues with the centos image running on MacOS/Boot2Docker 1.4.1. It cause the javaee6angularjs.war to be copied using root ownership and 740 permission. That caused WildFly to throw a FileNotFoundException.
The proposed changes fix that issue by placing the file under wildfly ownership. There's a docker issue opened about that issue: docker/docker#6119