12ongo commited on
Commit
fabb947
·
verified ·
1 Parent(s): 2a1f1bd

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,4 +21,4 @@ EXPOSE 7860
21
 
22
  # Start the API using gunicorn, binding to the dynamic PORT provided by HF Spaces
23
  ENV PORT=7860
24
- CMD ["gunicorn", "-w", "2", "-k", "gthread", "-b", "0.0.0.0:${PORT}", "app:sales_predictor_api"]
 
21
 
22
  # Start the API using gunicorn, binding to the dynamic PORT provided by HF Spaces
23
  ENV PORT=7860
24
+ CMD ["sh", "-c", "gunicorn -w 1 -k gthread -b 0.0.0.0:$PORT app:sales_predictor_api"]