公告板
版本库
filestore
活动
搜索
登录
main
/
rag-gateway
rag-gateway
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
智能体列表接口,智能体会话记录接口
zhangqian
2024-10-15
244c884d0a7c54c4a37de18c1c2c8ff15a506ff7
[rag-gateway.git]
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.11
# 安装 PyInstaller
RUN pip install pyinstaller
# 复制项目文件到容器中
COPY . /app
WORKDIR /app
# 安装项目依赖
RUN pip install -r requirements.txt
# 使用 PyInstaller 打包应用,并确保文件被复制到 dist 目录
RUN pyinstaller -F main.py