Spaces:
Sleeping
Sleeping
Create entrypoint.sh
Browse files- entrypoint.sh +9 -0
entrypoint.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# 启动 sync_data.sh 在后台
|
4 |
+
echo "Starting sync_data.sh in background..."
|
5 |
+
/sync_data.sh &
|
6 |
+
|
7 |
+
# 启动 Flask 应用
|
8 |
+
echo "Starting Flask application..."
|
9 |
+
exec python run.py
|