Skip to content

Commit d09e093

Browse files
authored
Merge pull request #67 from heshengtao/dev
Dev
2 parents aec483e + 9ea7e9f commit d09e093

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
run: |
3333
python -m pip install --upgrade pip
3434
pip install uv
35-
uv venv
36-
uv sync
35+
uv pip install --system -r requirements.txt
3736
3837
- name: Install Node.js dependencies
3938
run: npm ci

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ COPY requirements.txt ./
1616
COPY package.json package-lock.json ./
1717

1818
# 安装Python依赖
19-
RUN pip install uv
20-
21-
# UV创建虚拟环境
22-
RUN uv venv
23-
24-
# UV同步依赖
25-
RUN uv sync
19+
RUN pip install --no-cache-dir -r requirements.txt
2620

2721
# 安装Node依赖(自动读取package-lock.json)
2822
RUN npm install --production --legacy-peer-deps # 兼容性模式

0 commit comments

Comments
 (0)