Skip to content

Commit e219a27

Browse files
updated the home node path
1 parent 75b999f commit e219a27

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

scripts/entrypoint.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ MONIKER=${MONIKER:-docker}
77
# ============================================
88
# DETERMINE NODE HOME DIRECTORY
99
# ============================================
10-
# Cosmos SDK convention for node home
11-
NODE_HOME="/app/.shardeumd"
12-
13-
# Validate NODE_TYPE
1410
case $NODE_TYPE in
15-
API|SENTRY)
16-
echo "Node type: $NODE_TYPE"
11+
API)
12+
NODE_HOME="/app"
13+
;;
14+
SENTRY)
15+
NODE_HOME="/app/.shardeumd"
1716
;;
1817
*)
1918
echo "ERROR: NODE_TYPE must be 'API' or 'SENTRY'"

0 commit comments

Comments
 (0)