This will:
1) allow restarting a stopped indexer container by skipping the diesel migration/near init steps that we need to run before the indexer is usable (but shouldn't run if they're already done)
2) pull all the nasty logic that was in the Dockerfile into a clean script
3) use ENTRYPOINT so that any CMD args that get passed to the indexer will go directly to the indexer binary process
Fixes #180
This will: 1) allow restarting a stopped indexer container by skipping the
diesel migration
/near init
steps that we need to run before the indexer is usable (but shouldn't run if they're already done) 2) pull all the nasty logic that was in the Dockerfile into a clean script 3) use ENTRYPOINT so that any CMD args that get passed to the indexer will go directly to the indexer binary process