Update docker-entrypoint.sh

This commit is contained in:
Alex Coseru 2020-03-26 01:22:56 +02:00 committed by GitHub
parent a6ae9cc731
commit 36d6b9da73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ if [ "${LOCAL_CONTRACTS}" = "true" ]; then
while [ ! -f "/app/frontend/node_modules/@oceanprotocol/keeper-contracts/artifacts/ready" ]; do
sleep 2
done
npm run build
fi
echo "Starting Commons..."
serve -l tcp://"${LISTEN_ADDRESS}":"${LISTEN_PORT}" -s /app/frontend/build/