ipld-eth-server/entrypoint.sh
Roy Crihfield 0bc42e301d
Some checks failed
Test the stack. / Run unit tests (pull_request) Successful in 6m9s
Test the stack. / Run integration tests (pull_request) Failing after 5m44s
rm config files from image, entrypoint noise
options are all passed in env
2024-08-05 11:47:01 -05:00

9 lines
303 B
Bash
Executable File

#!/bin/sh
START_CMD="./ipld-eth-server"
if [ "true" == "$CERC_REMOTE_DEBUG" ] && [ -x "/usr/local/bin/dlv" ]; then
START_CMD="/usr/local/bin/dlv --listen=:40000 --headless=true --api-version=2 --accept-multiclient exec `pwd`/ipld-eth-server --continue --"
fi
exec $START_CMD ${VDB_COMMAND:-serve}