From 36d6b9da738295e7316bfe595297049fc82f3805 Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Thu, 26 Mar 2020 01:22:56 +0200 Subject: [PATCH] Update docker-entrypoint.sh --- client/scripts/docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/client/scripts/docker-entrypoint.sh b/client/scripts/docker-entrypoint.sh index 14ce266..16de146 100755 --- a/client/scripts/docker-entrypoint.sh +++ b/client/scripts/docker-entrypoint.sh @@ -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/