Spaces:
Running
Running
solitudeLin
commited on
Commit
•
596ec6f
1
Parent(s):
2cfdc83
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -17,8 +17,8 @@ WORKDIR /app
|
|
17 |
# 创建并激活 fastapi 环境,并安装依赖包
|
18 |
RUN conda create --name fastapi python=3.10 -y && \
|
19 |
conda run -n fastapi pip install -r requirements.txt && \
|
|
|
20 |
conda clean --all -f -y
|
21 |
-
|
22 |
# 暴露 FastAPI 默认端口
|
23 |
EXPOSE 8000
|
24 |
|
|
|
17 |
# 创建并激活 fastapi 环境,并安装依赖包
|
18 |
RUN conda create --name fastapi python=3.10 -y && \
|
19 |
conda run -n fastapi pip install -r requirements.txt && \
|
20 |
+
conda run -n fastapi pip install streamlit && \
|
21 |
conda clean --all -f -y
|
|
|
22 |
# 暴露 FastAPI 默认端口
|
23 |
EXPOSE 8000
|
24 |
|