Spaces:
Sleeping
Sleeping
Commit
·
d0fa205
1
Parent(s):
9ae4f84
Update entrypoint.sh
Browse files- entrypoint.sh +2 -3
entrypoint.sh
CHANGED
|
@@ -13,8 +13,7 @@ fi
|
|
| 13 |
|
| 14 |
# Set appropriate permissions for the application directory
|
| 15 |
chown -R "$USERNAME":"$USERNAME" /app
|
| 16 |
-
chmod -R 755 /app
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
|
| 20 |
|
|
|
|
| 13 |
|
| 14 |
# Set appropriate permissions for the application directory
|
| 15 |
chown -R "$USERNAME":"$USERNAME" /app
|
|
|
|
| 16 |
|
| 17 |
+
# Start your application
|
| 18 |
+
exec gosu "$USERNAME" uvicorn app.main:app --host 0.0.0.0 --port 7860 --reload
|
| 19 |
|