Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,5 +17,5 @@ RUN pip install git+https://github.com/huggingface/transformers.git
|
|
17 |
RUN pip install pydantic[email]
|
18 |
|
19 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
20 |
-
|
21 |
-
CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
|
|
|
17 |
RUN pip install pydantic[email]
|
18 |
|
19 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
20 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
21 |
+
# CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
|