Skip to content

Commit b8c1018

Browse files
committed
chore: add dockerignore
1 parent 3270ffb commit b8c1018

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Dockerfile
2+
.dockerignore
3+
node_modules
4+
npm-debug.log
5+
README.md
6+
.next
7+
.git

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache libc6-compat
99
# Node v16.13 开始支持 corepack 用于管理第三方包管理器
1010
# 锁定包管理器版本,确保 CI 每次构建都是幂等的
1111
# RUN corepack enable && corepack prepare pnpm@latest --activate
12-
RUN corepack enable && corepack prepare pnpm@8.5.0 --activate
12+
RUN corepack enable && corepack prepare pnpm@9.15.3 --activate
1313

1414
WORKDIR /app
1515

0 commit comments

Comments
 (0)