Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -127,5 +127,5 @@ RUN pip install gunicorn
|
|
127 |
# Start the Uvicorn server
|
128 |
# ENTRYPOINT ["python", "main.py"]
|
129 |
# CMD ["sh", "-c", "python main.py & sleep infinity"]
|
130 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860","--workers","
|
131 |
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
127 |
# Start the Uvicorn server
|
128 |
# ENTRYPOINT ["python", "main.py"]
|
129 |
# CMD ["sh", "-c", "python main.py & sleep infinity"]
|
130 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860","--workers","1"]
|
131 |
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|