This commit is contained in:
hailin 2025-05-08 15:43:32 +08:00
parent bb65afab1f
commit ef7871eabd
2 changed files with 42 additions and 0 deletions

37
.dockerignore Normal file
View File

@ -0,0 +1,37 @@
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
# 编辑器 & IDE
.vscode/
.idea/
*.swp
# 日志 & 缓存
*.log
*.tmp
*.bak
*.DS_Store
# 虚拟环境
.venv/
env/
venv/
# 数据 & 索引文件
index_data/*
!index_data/.gitkeep
# 文档 & 上传文件(避免打包私密文档)
docs/*
!docs/.gitkeep
# Git
.git/
.gitignore
# OS 文件
Thumbs.db
ehthumbs.db

5
build.sh Normal file
View File

@ -0,0 +1,5 @@
docker build \
--build-arg http_proxy=http://127.0.0.1:7890 \
--build-arg https_proxy=http://127.0.0.1:7890 \
--network=host \
-t faiss-rag .