Speed_Read_AI / entrypoint.sh
circulartext's picture
Update entrypoint.sh
2a51fee
raw
history blame
291 Bytes
#!/bin/bash
set -e
# Check if the user already exists
if id "$USER_ID" >/dev/null 2>&1; then
echo "User with ID $USER_ID already exists."
else
# Create a new user with the specified ID
useradd -m -u "$USER_ID" user
fi
# Run the CMD or any other command you want to execute
exec "$@"