message: Set RUST_BACKTRACE=1 to enable stack trace capture on error and panic
diff: @@ -30,6 +30,9 @@ EXPOSE 30303
  # Metrics
  EXPOSE 14297
  +# Capture backtrace on error
  +ENV RUST_BACKTRACE 1
  +
  # Define SEED_PEERS, SELF_IP, PEER_KEYPAIRS, GENESIS_BLOB and PEER_ID environment variables when running
  CMD cd /opt/libra/etc && sed -i "s,SELF_IP,$SELF_IP," node.config.toml && echo "$SEED_PEERS" > seed_peers.config.toml && echo "$TRUSTED_PEERS" > trusted_peers.config.toml && echo "$PEER_KEYPAIRS" > peer_keypairs.config.toml && echo "$GENESIS_BLOB" | base64 -d > genesis.blob && exec /opt/libra/bin/libra_node -f node.config.toml --peer_id "$PEER_ID"
  