Speed_Read_AI / entrypoint.sh
circulartext's picture
Update entrypoint.sh
57184e7
raw
history blame
246 Bytes
#!/bin/sh
# Check if the user already exists
if ! id user >/dev/null 2>&1; then
# Create a new user
useradd -m -u 1000 user
fi
# Switch to the user
su - user
# Start the application
uvicorn app.main:app --host 0.0.0.0 --port 7860 --reload