Spaces:
Configuration error
Configuration error
Commit ·
debefa9
1
Parent(s): d980cb1
fix: reduce workers to 1 for Hugging Face Space stability
Browse files- 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", "
|
|
|
|
| 40 |
EXPOSE 7860
|
| 41 |
|
| 42 |
# 7. Start the backend
|
| 43 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|