File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .git
2+ .idea
3+ .vscode
4+ __pycache__
5+ * .pyc
6+ node_modules
7+ dist
8+ test_data
9+ Dockerfile
10+ README.md
11+ .github
12+ .venv
13+ venv
14+ .env
15+
16+ /usr /share /doc /*
17+ /usr /share /man /*
18+ /usr /share /groff /*
19+ /usr /share /info /*
20+ /usr /share /lintian /*
21+ /usr /share /linda /*
22+ /usr /share /locale /*
23+ /usr /share /omf /* /* - * .emf
Original file line number Diff line number Diff line change @@ -82,8 +82,11 @@ COPY package.json package-lock.json* .puppeteerrc.* ./
8282RUN npm ci && npx puppeteer browsers install
8383
8484# 5. 安装 Python 项目依赖
85- COPY pyproject.toml .python-version ./
86- RUN uv sync --locked --no-cache
85+ RUN --mount=type=bind,source=.python-version,target=.python-version \
86+ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
87+ --mount=type=bind,source=uv.lock,target=uv.lock \
88+ --mount=type=cache,target=/root/.cache/uv \
89+ uv sync --locked --no-cache
8790
8891# 6. 拷贝应用代码
8992COPY src/ ./src/
You can’t perform that action at this time.
0 commit comments