Commit cba91ca7 authored by Yuci Gou's avatar Yuci Gou

PORT is overridden by wait-for-it.sh.

parent a569b3b3
......@@ -8,7 +8,7 @@ $cmd &
echo "Wait forever for server to respond, check every 20 seconds"
while true
do
RUNNING=$(curl --silent --connect-timeout 20 "http://localhost:$PORT" | grep "/assets/")
RUNNING=$(curl --silent --connect-timeout 20 "http://localhost:$APP_SERVER_PORT" | grep "/assets/")
if [ -n "$RUNNING" ] ; then
echo "xPub is running"
#echo "Creating the Users"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment