diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-08-28 06:11:23 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-08-28 06:21:35 +0000 |
commit | 842261043f74b35c61889ee886e480dd280a5c0d (patch) | |
tree | a0851e540a2e6f263d5e98250ccd5b166c61f2e4 /docker | |
parent | af86e67845ff7d074d389aa54cd4c3744d037348 (diff) |
Launch Functest RestApi once the container is run
And fix the handling about env prepare exception.
Change-Id: I3e590e63157182c442602367a244d7ff647f8b7d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 5fa4340f..45dc21e5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -108,3 +108,5 @@ RUN sh -c 'curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -' \ && cd /src/promise/source && npm install RUN echo ". ${FUNCTEST_DIR}/cli/functest-complete.sh" >> /root/.bashrc + +CMD ["functest_restapi"] |