Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -17,4 +17,4 @@ EXPOSE 7860
|
|
17 |
|
18 |
# Command to run your Flask app using gunicorn web server
|
19 |
# This is more robust than Flask's built-in server
|
20 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "app:app"]
|
|
|
17 |
|
18 |
# Command to run your Flask app using gunicorn web server
|
19 |
# This is more robust than Flask's built-in server
|
20 |
+
CMD [ "gunicorn" , "--bind" , "0.0.0.0:7860" , "--workers" , "1" , "--preload" , "app:app" ]
|