feat:dockerfile添加以及向量数据库支持配置为远程数据库
This commit is contained in:
		
							
								
								
									
										9
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| FROM docker.m.daocloud.io/python:3.12-slim | ||||
| WORKDIR /app | ||||
| COPY . /app | ||||
| ENV TZ=Asia/Shanghai \ | ||||
|     LANG=C.UTF-8 | ||||
| RUN rm -rf  logs .git .idea .venv && apt-get update && apt-get install -y vim curl && pip install -r requirement.txt -i https://mirrors.aliyun.com/pypi/simple/ | ||||
| RUN mkdir -p /app/logs && touch /app/logs/sqlbot.log && rm -rf *.whl | ||||
| EXPOSE 8084 | ||||
| CMD ["python","main_service.py"] | ||||
		Reference in New Issue
	
	Block a user
	 雷雨
					雷雨