Spaces:
Sleeping
Sleeping
Laurenc Kaefer commited on
Commit ·
4f8a69a
1
Parent(s): 95c82b2
FIX: corrected command for starting gunicorn server
Browse files
run.sh
CHANGED
|
@@ -6,7 +6,7 @@ set -e
|
|
| 6 |
# run tests
|
| 7 |
echo "--- RUNNING TESTS ---"
|
| 8 |
pytest
|
| 9 |
-
echo "--- TESTS PASSED, STARTING APPLICATION ---"
|
| 10 |
|
| 11 |
# start gunicorn server, listening on port 7860
|
| 12 |
-
|
|
|
|
|
|
| 6 |
# run tests
|
| 7 |
echo "--- RUNNING TESTS ---"
|
| 8 |
pytest
|
|
|
|
| 9 |
|
| 10 |
# start gunicorn server, listening on port 7860
|
| 11 |
+
echo "--- TESTS PASSED, STARTING GUNICORN SERVER ---"
|
| 12 |
+
exec gunicorn --bind 0.0.0.0:7860 wsgi:app
|