Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -14,4 +14,4 @@ RUN pip install -r requirements.txt
|
|
14 |
EXPOSE 8000
|
15 |
|
16 |
# 运行FastAPI应用
|
17 |
-
CMD ["uvicorn", "
|
|
|
14 |
EXPOSE 8000
|
15 |
|
16 |
# 运行FastAPI应用
|
17 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|