Files
explore/deploy/scripts/entrypoint.sh
T
tom goriunovandGitHub 4b10b42824 Highlight Safe wallets (#1174)
* add tag and icon for safe contracts

* surpress sentry error log and describe feature in the docs

* refine logs at container start
2023-09-19 11:18:07 -03:00

25 lines
604 B
Bash
Executable File

#!/bin/bash
# Check run-time ENVs values integrity
node "$(dirname "$0")/envs-validator.js" "$input"
if [ $? != 0 ]; then
echo 🛑 ENV integrity check failed. 1>&2 && exit 1
fi
# Generate favicons bundle
./favicon_generator.sh
if [ $? -ne 0 ]; then
echo "👎 Unable to generate favicons bundle."
else
echo "👍 Favicons bundle successfully generated."
fi
echo
# Execute script for replace build-time ENVs placeholders with their values at runtime
./replace_envs.sh
# Print list of enabled features
node ./feature-reporter.js
echo "Starting Next.js application"
exec "$@"