From 76f36eac45e2165385225fa5cdfb530849bda6cc Mon Sep 17 00:00:00 2001 From: Shinto C V Date: Thu, 19 Oct 2023 23:46:37 +0530 Subject: [PATCH] Use INDEXER_DATA throughout the entrypoint script in docker (#1583) Use the env var everywhere. --- docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index d941d56ae..442de0ab6 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -12,7 +12,7 @@ fi # copy indexer.yml override to data directory if [[ -f /etc/algorand/indexer.yml ]]; then - cp /etc/algorand/indexer.yml /data/indexer.yml + cp /etc/algorand/indexer.yml $INDEXER_DATA/indexer.yml fi # always run the algorand-indexer command