fix(docker): pin --ignore-scripts on global npm installs (#338)

This commit is contained in:
ezl-keygraph
2026-05-21 00:23:14 +05:30
committed by GitHub
parent 1af42339b9
commit 72c424f687
+2 -2
View File
@@ -20,7 +20,7 @@ RUN apk update && apk add --no-cache \
bash
# Install pnpm
RUN npm install -g pnpm@10.33.0
RUN npm install -g --ignore-scripts pnpm@10.33.0
# Build Node.js application in builder to avoid QEMU emulation failures in CI
WORKDIR /app
@@ -91,7 +91,7 @@ COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/apps/worker /app/apps/worker
COPY --from=builder /app/apps/cli/package.json /app/apps/cli/package.json
RUN npm install -g @anthropic-ai/claude-code@2.1.84 @playwright/cli@0.1.1
RUN npm install -g --ignore-scripts @anthropic-ai/claude-code@2.1.84 @playwright/cli@0.1.1
RUN mkdir -p /tmp/.claude/skills && \
playwright-cli install --skills && \
cp -r .claude/skills/playwright-cli /tmp/.claude/skills/ && \