fix: gunicorn with 5min timeout instead of Flask dev server
Deploy contracts-flask / validate (push) Successful in 0s
Deploy contracts-flask / validate (push) Successful in 0s
This commit is contained in:
+1
-1
@@ -10,4 +10,4 @@ COPY site /app/site
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["python", "site/app.py"]
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--timeout", "300", "--workers", "1", "site.app:app"]
|
||||
|
||||
Reference in New Issue
Block a user