Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -27,4 +27,4 @@ COPY ./requirements.txt /code/requirements.txt
|
|
| 27 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 28 |
COPY . .
|
| 29 |
# HF Spaces 默认端口是 7860
|
| 30 |
-
CMD ["uvicorn", "app
|
|
|
|
| 27 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 28 |
COPY . .
|
| 29 |
# HF Spaces 默认端口是 7860
|
| 30 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|