commit | 7c195f781eb2c4669a5583aada0b357fd82a9038 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Thu Nov 16 10:30:11 2017 -0800 |
committer | Matteo Scandolo <teo@opennetworking.org> | Fri Nov 17 21:14:12 2017 +0000 |
tree | 11b12ccd11c48031f3ab5884e08dc072f970c2ef | |
parent | d07506ae943c3dafeb7f4ee6e729ce7faaee90b0 [diff] |
[CORD-2188] Multi-stage build for gui-extensions Change-Id: Ia2f7c628fda95b045c1661232e1123ba5d91eaa7 (cherry picked from commit 31634f244b548384f54d18d69134fb72ea2213e6)
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: