Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 1s
docs(.gitignore/README/QUICKSTART): 更新文档和忽略配置 - 添加IDE配置、日志和数据文件到.gitignore - 重构QUICKSTART.md,提供Docker Compose和本地开发两种部署方式 - 更新README.md,优化项目介绍和架构说明 - 移除旧的agent.py和backend.py文件 ```
16 lines
295 B
Docker
16 lines
295 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirement.txt .
|
|
RUN pip install --no-cache-dir -r requirement.txt
|
|
|
|
COPY frontend/ ./frontend/
|
|
COPY app/ ./app/
|
|
|
|
ENV PYTHONPATH=/app
|
|
|
|
EXPOSE 8501
|
|
|
|
CMD ["streamlit", "run", "frontend/frontend.py", "--server.port", "8501", "--server.address", "0.0.0.0"]
|