Speed_Read_AI / Entrypoint.sh
circulartext's picture
Create Entrypoint.sh
45e3447
raw
history blame
251 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 uvicorn app.main:app --host 0.0.0.0 --port 7860