omnitool_on_hf / omnitool_start.sh
manu-sapiens's picture
copy of omnitool_latest - should be working
b39afbe
raw
history blame
368 Bytes
#!/bin/bash
# Set PATH explicitly
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
echo "Current PATH: $PATH"
/usr/local/bin/node -v
# Print the current user
echo "Current user: $(whoami)"
# Print environment variables
echo "Environment variables:"
printenv
git pull
# Run yarn commands
yarn start "$@" # Pass all arguments to yarn start