Spaces:
Sleeping
Sleeping
charbelmalo
commited on
Commit
·
d1e996b
1
Parent(s):
783a18e
sold
Browse files- entrypoint.sh +14 -0
entrypoint.sh
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Clone the repository into /app
|
4 |
+
git clone https://github.com/yourusername/your-repo.git /app
|
5 |
+
|
6 |
+
# Change to the app directory
|
7 |
+
cd /app
|
8 |
+
|
9 |
+
# Install dependencies
|
10 |
+
pip install --no-cache-dir --upgrade pip
|
11 |
+
pip install --no-cache-dir -r requirements.txt
|
12 |
+
|
13 |
+
# Start the application using Gunicorn
|
14 |
+
exec gunicorn --bind 0.0.0.0:8080 app:app
|