Speed_Read_AI / entrypoint.sh
circulartext's picture
Update entrypoint.sh
5f4973d
raw
history blame
209 Bytes
#!/bin/sh
# Check if the user is root
if [ "$(id -u)" = "0" ]; then
# Drop privileges using gosu
exec gosu user "$0" "$@"
fi
# Handle any pre-start tasks if needed
# Run the main command
exec "$@"