Shaikhsarib commited on
Commit
debefa9
·
1 Parent(s): d980cb1

fix: reduce workers to 1 for Hugging Face Space stability

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -40,4 +40,4 @@ RUN python -c "import easyocr; \
40
  EXPOSE 7860
41
 
42
  # 7. Start the backend
43
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]
 
40
  EXPOSE 7860
41
 
42
  # 7. Start the backend
43
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]