aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-09-30 00:43:40 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-30 00:43:40 +0000
commitb64891aa2fa0ef7db659831217328f3ce9e9fab4 (patch)
treea2ee42833673eec5f8b4d040e67e9700f714f2d3 /docker
parent5f07d28f5a90f7e19d0eddcbe04509e4246440fa (diff)
parent0d3fb3fb9aee914b425f3f8ed9c843d6052f7ada (diff)
Merge "Start restful server auto in docker"
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index fc0e57c5..7c4b18fb 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -12,6 +12,7 @@ LABEL version="0.1" description="OPNFV QTIP Docker container"
ENV REPOS_DIR /home/opnfv/repos
ENV QTIP_DIR /home/opnfv/repos/qtip
+ENV PYTHONPATH /home/opnfv/repos/qtip
WORKDIR /home/opnfv
@@ -57,4 +58,4 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng $REPOS_DIR/releng
RUN pip install -r $REPOS_DIR/qtip/requirements.txt
-
+CMD cd $REPOS_DIR/qtip && python restful_server/qtip_server.py>/var/log/qtip/run.log