File tree Expand file tree Collapse file tree 4 files changed +7976
-2
lines changed
Expand file tree Collapse file tree 4 files changed +7976
-2
lines changed Original file line number Diff line number Diff line change 2424* .log. *
2525* .db
2626* .lock
27+ ! uv.lock
2728tmp
2829cache
2930.cache
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ RUN set -ex \
3939# 复制项目配置文件
4040COPY ../pyproject.toml /app/pyproject.toml
4141COPY ../.python-version /app/.python-version
42+ COPY ../uv.lock /app/uv.lock
43+
4244
4345# 接收构建参数(如果出现代理错误,则把下面关于环境变量的都注释掉,并注释掉 dock-compose.yml 的 6-8 行)
4446ARG HTTP_PROXY=""
@@ -52,7 +54,7 @@ ENV HTTP_PROXY=$HTTP_PROXY \
5254
5355# 如果网络还是不好,可以在后面添加 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
5456RUN --mount=type=cache,target=/root/.cache/uv \
55- uv sync --no-dev --index-url https://pypi.tuna.tsinghua.edu.cn/simple
57+ uv sync --no-dev --frozen -- index-url https://pypi.tuna.tsinghua.edu.cn/simple
5658
5759# 激活虚拟环境并添加到PATH
5860ENV PATH="/app/.venv/bin:$PATH"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ dependencies = [
88 " asyncpg>=0.30.0" ,
99 " aiosqlite>=0.20.0" ,
1010 " sqlalchemy[asyncio]>=2.0.0" ,
11- " langchain>=1.0.2 " ,
11+ " langchain>=1.2.0 " ,
1212 " chromadb>=1.3" ,
1313 " colorlog>=6.9.0" ,
1414 " dashscope>=1.23.2" ,
You can’t perform that action at this time.
0 commit comments