We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aec483e + 9ea7e9f commit d09e093Copy full SHA for d09e093
.github/workflows/build.yml
@@ -32,8 +32,7 @@ jobs:
32
run: |
33
python -m pip install --upgrade pip
34
pip install uv
35
- uv venv
36
- uv sync
+ uv pip install --system -r requirements.txt
37
38
- name: Install Node.js dependencies
39
run: npm ci
Dockerfile
@@ -16,13 +16,7 @@ COPY requirements.txt ./
16
COPY package.json package-lock.json ./
17
18
# 安装Python依赖
19
-RUN pip install uv
20
-
21
-# UV创建虚拟环境
22
-RUN uv venv
23
24
-# UV同步依赖
25
-RUN uv sync
+RUN pip install --no-cache-dir -r requirements.txt
26
27
# 安装Node依赖(自动读取package-lock.json)
28
RUN npm install --production --legacy-peer-deps # 兼容性模式
0 commit comments