diff options
author | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-01 12:44:50 +0200 |
---|---|---|
committer | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-01 11:08:17 +0000 |
commit | 8ac6a7ef3809cb511b10494d9c1f4654db1e071e (patch) | |
tree | f9d7b80d863f4451ad2359c469366f7170475a4b /docker/Dockerfile.web | |
parent | c53c8c2b31b6734765f0f5638a8bb0e3bf3cff9b (diff) |
Dynamically fetching javascript dependencies
JIRA: DOVETAIL-746
This patch deletes the source code of javascript dependencies from
web portal. Furthermore, it uses npm to install them.
Change-Id: Idc40606ff9e7286aa66421cbbe05f94d7ce9f7e6
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to 'docker/Dockerfile.web')
-rw-r--r-- | docker/Dockerfile.web | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile.web b/docker/Dockerfile.web index d4b604e..78647da 100644 --- a/docker/Dockerfile.web +++ b/docker/Dockerfile.web @@ -19,12 +19,15 @@ RUN apt-get update && apt-get install -y \ git \ nginx \ supervisor \ + npm \ && rm -rf /var/lib/apt/lists/* RUN git config --global http.sslVerify false && \ git clone https://gerrit.opnfv.org/gerrit/dovetail-webportal $HOME/testapi && \ cd $HOME/testapi && \ git checkout -f $BRANCH && \ + cd $HOME/testapi/3rd_party/static/testapi-ui && \ + npm install && \ mkdir /www && \ cp -r $HOME/testapi/3rd_party/static /www/ |