ghbGC commited on
Commit
abbf662
·
1 Parent(s): 256524e
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -42,8 +42,7 @@ COPY . /app
42
  # 暴露端口
43
  EXPOSE 8501
44
 
45
- # 确保在运行streamlit之前激活Conda环境
46
- SHELL ["conda", "run", "-n", "lagent", "/bin/bash", "-c"]
47
 
48
  # 运行命令
49
  CMD ["streamlit", "run", "app.py"]
 
42
  # 暴露端口
43
  EXPOSE 8501
44
 
45
+ RUN which streamlit
 
46
 
47
  # 运行命令
48
  CMD ["streamlit", "run", "app.py"]