Added flexibility to allow 'webapps' to be a mounted volume

- Updated Dockerfile to make apt-get noninteractive
- Added 'if' statement around web.xml modifications which adds the flexibility of using a volume for the webapps folder (since doing so will make the webapps directory empty and the file modification will fail, causing the docker container to exit)