Speed_Read_AI / entrypoint.sh
circulartext's picture
Update entrypoint.sh
dfd32bf
raw
history blame
273 Bytes
#!/bin/bash
# entrypoint.sh
# 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 the user with the specified UID
useradd -m -u "$USER_ID" user
fi
# Run the main command
exec "$@"