Speed_Read_AI / entrypoint.sh
circulartext's picture
Update entrypoint.sh
e62a97c
raw
history blame
268 Bytes
#!/bin/sh
# Generate a unique user ID for this space
USER_ID=$(uuidgen)
# Create a new user with the generated user ID
useradd -m -u "$USER_ID" user
# Switch to the new user
su - user
# Start the application
uvicorn app.main:app --host 0.0.0.0 --port 7860 --reload