Fix the docker build error for vfc-nfvo-wfengine
[vfc/nfvo/wfengine.git] / wfenginemgrservice / src / main / docker / bin / run.sh
index 4ce6078..1ffff90 100644 (file)
@@ -34,10 +34,13 @@ else
 fi
 echo " dwApp_MSB_ADDR=${dwApp_msbClientConfig_msbSvrIp}:${dwApp_msbClientConfig_msbSvrPort}"
 
+sed -i "s/127.0.0.1/$dwApp_msbClientConfig_msbSvrIp/g" ./conf/workflow.yml
+sed -i "s/80/$dwApp_msbClientConfig_msbSvrPort/g" ./conf/workflow.yml
+
 if [ -f "$RUNHOME/setenv.sh" ]; then
-  . "$RUNHOME/setenv.sh"
+    "$RUNHOME/setenv.sh"
 else
-echo "can not found $RUNHOME/setenv.sh"
+    echo "can not found $RUNHOME/setenv.sh"
 fi
 
 echo ================== ENV_INFO  =============================================