Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -76,4 +76,4 @@ RUN pip install gunicorn
|
|
76 |
# Start the Uvicorn server
|
77 |
# ENTRYPOINT ["python", "main.py"]
|
78 |
# CMD ["sh", "-c", "python main.py & sleep infinity"]
|
79 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
76 |
# Start the Uvicorn server
|
77 |
# ENTRYPOINT ["python", "main.py"]
|
78 |
# CMD ["sh", "-c", "python main.py & sleep infinity"]
|
79 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860","--workers","2"]
|