[CORD-2188] Multi-stage build for gui-extensions

Change-Id: Ia2f7c628fda95b045c1661232e1123ba5d91eaa7
diff --git a/roles/cord-profile/templates/docker-compose.yml.j2 b/roles/cord-profile/templates/docker-compose.yml.j2
index cd90765..ac6f00c 100644
--- a/roles/cord-profile/templates/docker-compose.yml.j2
+++ b/roles/cord-profile/templates/docker-compose.yml.j2
@@ -306,7 +306,7 @@
 {% for network in xos_docker_networks %}
      - {{ network }}
 {% endfor %}
-    command: npm run build
+    command: /bin/sh -c "mkdir -p /var/www/dist/extensions/{{ ext.name }}/ && cp -R /tmp/* /var/www/dist/extensions/{{ ext.name }}/"
     volumes_from:
       - gui_extensions_store
     logging: