Spaces:
Running
Running
solitudeLin
commited on
Commit
•
40ce635
1
Parent(s):
208a984
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -24,7 +24,7 @@ RUN conda create --name fastapi python=3.10 -y && \
|
|
24 |
EXPOSE 8002
|
25 |
|
26 |
# 启动 FastAPI 服务
|
27 |
-
CMD ["conda", "run", "-n", "fastapi", "uvicorn", "mindsearch.app:app", "--host", "
|
28 |
# 暴露 Streamlit 默认端口
|
29 |
EXPOSE 8501
|
30 |
# Run streamlit app when the container launches
|
|
|
24 |
EXPOSE 8002
|
25 |
|
26 |
# 启动 FastAPI 服务
|
27 |
+
CMD ["conda", "run", "-n", "fastapi", "uvicorn", "mindsearch.app:app", "--host", "localhost", "--port", "8002"]
|
28 |
# 暴露 Streamlit 默认端口
|
29 |
EXPOSE 8501
|
30 |
# Run streamlit app when the container launches
|