Spaces:
Sleeping
Sleeping
Delete entrypoint.sh
Browse files- entrypoint.sh +0 -14
entrypoint.sh
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
set -e
|
| 3 |
-
|
| 4 |
-
# 1. Define and create the directory (just in case)
|
| 5 |
-
MODEL_DIR="/data/models"
|
| 6 |
-
mkdir -p $MODEL_DIR
|
| 7 |
-
chmod 777 $MODEL_DIR
|
| 8 |
-
|
| 9 |
-
# 2. Print status
|
| 10 |
-
echo "--- ENTRYPOINT STARTED ---"
|
| 11 |
-
echo "Storage fixed. Handing control to app.py..."
|
| 12 |
-
|
| 13 |
-
# 3. Start the app
|
| 14 |
-
exec "$@"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|