Use pnpm.onlyBuiltDependencies for @sentry/cli and esbuild
pnpm approve-builds in Dockerfile ran after install, so the approval wasn't picked up. Use onlyBuiltDependencies in package.json instead — this is read during install and allows build scripts to run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b2bf7cba28
commit
6b147d04ec
3 changed files with 2 additions and 3 deletions
|
|
@ -12,7 +12,6 @@ COPY packages/gpx/package.json packages/gpx/
|
|||
COPY packages/i18n/package.json packages/i18n/
|
||||
COPY packages/db/package.json packages/db/
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm approve-builds @sentry/cli esbuild && pnpm install --frozen-lockfile
|
||||
|
||||
FROM base AS build
|
||||
COPY --from=deps /app/ ./
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue