Fix: Docker Container doesn't load static pages when using a volume
When using a docker volume on the proposed path mayan edms loses its static data since an empty directory will be established at "/usr/local/lib/python2.7/dist-packages/mayan/media".
Moved the collection of static data from the build to the startup process so that the data is written to the new folder and doesn't get lost.