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/ .