1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

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

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/