Bugfix: Decrease build time and fix faulty oc10 docker dev env

We've fixed a bug where build times increased on every file change in dev mode,
it also fixes the faulty file sync during docker development for oc10.

https://github.com/owncloud/web/pull/6855
