From 4c4774a6610985439dc0ebd6f76a7d556fd7d619 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:53:29 +0000 Subject: [PATCH] Remove --ignore-scripts from Docker installs The preinstall hook is needed during turbo docker-build. With STACK_SKIP_TEMPLATE_GENERATION=true the heavy generate-sdks.ts is skipped. The PATH fix (/bin) resolves the only-allow module resolution issue that originally prompted --ignore-scripts. Co-Authored-By: Konstantin Wohlwend --- docker/backend/Dockerfile | 3 +-- docker/local-emulator/Dockerfile | 3 +-- docker/server/Dockerfile | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docker/backend/Dockerfile b/docker/backend/Dockerfile index b3d34b10e..d5cbb5202 100644 --- a/docker/backend/Dockerfile +++ b/docker/backend/Dockerfile @@ -45,8 +45,7 @@ COPY pnpm-workspace.yaml . COPY turbo.json . COPY configs ./configs COPY --from=pruner /app/scripts/postinstall-patch-next-async-debug-info.mjs ./scripts/ -RUN STACK_SKIP_TEMPLATE_GENERATION=true pnpm install --frozen-lockfile --ignore-scripts -RUN node ./scripts/postinstall-patch-next-async-debug-info.mjs +RUN STACK_SKIP_TEMPLATE_GENERATION=true pnpm install --frozen-lockfile COPY --from=pruner /app/out/full/ . diff --git a/docker/local-emulator/Dockerfile b/docker/local-emulator/Dockerfile index 176b1e630..4fcfb4318 100644 --- a/docker/local-emulator/Dockerfile +++ b/docker/local-emulator/Dockerfile @@ -43,8 +43,7 @@ COPY pnpm-workspace.yaml . COPY turbo.json . COPY configs ./configs COPY --from=pruner /app/scripts/postinstall-patch-next-async-debug-info.mjs ./scripts/ -RUN --mount=type=cache,id=pnpm,target=/pnpm/store STACK_SKIP_TEMPLATE_GENERATION=true pnpm install --frozen-lockfile --ignore-scripts -RUN node ./scripts/postinstall-patch-next-async-debug-info.mjs +RUN --mount=type=cache,id=pnpm,target=/pnpm/store STACK_SKIP_TEMPLATE_GENERATION=true pnpm install --frozen-lockfile # copy over the rest of the code for the build COPY --from=pruner /app/out/full/ . diff --git a/docker/server/Dockerfile b/docker/server/Dockerfile index a82604c70..62656ea08 100644 --- a/docker/server/Dockerfile +++ b/docker/server/Dockerfile @@ -41,8 +41,7 @@ COPY pnpm-workspace.yaml . COPY turbo.json . COPY configs ./configs COPY --from=pruner /app/scripts/postinstall-patch-next-async-debug-info.mjs ./scripts/ -RUN --mount=type=cache,id=pnpm,target=/pnpm/store STACK_SKIP_TEMPLATE_GENERATION=true pnpm install --frozen-lockfile --ignore-scripts -RUN node ./scripts/postinstall-patch-next-async-debug-info.mjs +RUN --mount=type=cache,id=pnpm,target=/pnpm/store STACK_SKIP_TEMPLATE_GENERATION=true pnpm install --frozen-lockfile # copy over the rest of the code for the build COPY --from=pruner /app/out/full/ .