Skip to content

Commit df8d94d

Browse files
committed
Update
1 parent 1464990 commit df8d94d

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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

images/exporter-build/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,11 @@ COPY package.json package-lock.json* .puppeteerrc.* ./
8282
RUN 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. 拷贝应用代码
8992
COPY src/ ./src/

0 commit comments

Comments
 (0)