跳过 approve-builds 检查
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
|
||||
# 先拷贝依赖声明,利用 Docker 层缓存
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
RUN pnpm install --frozen-lockfile --config.confirmModulesPurge=false
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
# 拷贝源码并构建
|
||||
COPY . .
|
||||
|
||||
+6
-5
@@ -1,5 +1,6 @@
|
||||
onlyBuiltDependencies:
|
||||
- '@parcel/watcher'
|
||||
- esbuild
|
||||
- puppeteer
|
||||
- vue-demi
|
||||
allowBuilds:
|
||||
'@parcel/watcher': true
|
||||
core-js: true
|
||||
esbuild: true
|
||||
puppeteer: true
|
||||
vue-demi: true
|
||||
|
||||
Reference in New Issue
Block a user