Spaces:
Sleeping
Sleeping
prlabs2023
commited on
Commit
•
71f2a13
1
Parent(s):
0146c23
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"]
|