run Functest daily in xci
[releng.git] / utils / test / testapi / docker / Dockerfile
index b0272e6..5311f35 100644 (file)
@@ -8,13 +8,12 @@
 #    $ docker build -t opnfv/testapi:tag .
 #
 # Execution:
-#    $ docker run -dti -p 8000:8000 \
-#      -e "swagger_url=http://10.63.243.17:8000" \
+#    $ docker run -dti -p 8001:8000 \
+#      -e "base_url=http://10.63.243.17:8001" \
 #      -e "mongodb_url=mongodb://10.63.243.17:27017/" \
-#      -e "api_port=8000"
 #      opnfv/testapi:tag
 #
-# NOTE: providing swagger_url, api_port, mongodb_url is optional.
+# NOTE: providing swagger_url, mongodb_url is optional.
 #       If not provided, it will use the default one
 #       configured in config.ini
 #
@@ -48,5 +47,5 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng /home/releng
 
 WORKDIR /home/releng/utils/test/testapi/
 RUN pip install -r requirements.txt
-RUN python setup.py install
+RUN bash install.sh
 CMD ["bash", "docker/start-server.sh"]