Spaces:
Sleeping
Sleeping
Create Procfile
Browse files
Procfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# create Procfile that forces gunicorn to run app:app
|
| 2 |
+
cat > Procfile <<'PROC'
|
| 3 |
+
web: gunicorn app:app --bind 0.0.0.0:7860 --workers 1
|
| 4 |
+
PROC
|
| 5 |
+
|
| 6 |
+
# show Procfile contents to confirm
|
| 7 |
+
echo "----- Procfile -----"
|
| 8 |
+
cat Procfile
|