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