diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2017-10-09 05:23:15 -0400 |
---|---|---|
committer | grakiss <grakiss.wanglei@huawei.com> | 2017-10-09 05:23:15 -0400 |
commit | f3d7d48db89d9c3fbace41eb513e43cc9624ebad (patch) | |
tree | 5413d9517d77519cb9ea501ac378080cafd858a2 /cvp/docker/Dockerfile.web | |
parent | 8c11c765a9e5af8eb8ac4598d79932ce4f95152c (diff) |
[web-cvp]fix api&web service in dockerfiles
JIRA: DOVETAIL-523
api&web services is not running due to packages installation errors
Change-Id: I5175d987dfda3cefe28a3a37754acc9fc8d7bc13
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'cvp/docker/Dockerfile.web')
-rw-r--r-- | cvp/docker/Dockerfile.web | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cvp/docker/Dockerfile.web b/cvp/docker/Dockerfile.web index b8a3dfc4..9f992df7 100644 --- a/cvp/docker/Dockerfile.web +++ b/cvp/docker/Dockerfile.web @@ -10,7 +10,6 @@ MAINTAINER Leo Wang <grakiss.wanglei@huawei.com> LABEL version="v1" description="CVP nginx" ARG BRANCH=master -ARG COMMIT_ID=master ENV HOME /home WORKDIR /home @@ -23,7 +22,7 @@ RUN git config --global http.sslVerify false RUN git clone https://gerrit.opnfv.org/gerrit/dovetail.git WORKDIR /home/dovetail -RUN git checkout -f $COMMIT_ID +RUN git checkout -f $BRANCH RUN mkdir -p /home/testapi @@ -39,4 +38,5 @@ ADD nginx/sites-enabled/default /etc/nginx/sites-enabled/default ADD supervisor/conf.d/nginx.conf /etc/supervisor/conf.d/nginx.conf ADD start-nginx.sh /home/start-nginx.sh +WORKDIR /home CMD ["bash", "start-nginx.sh"] |