From 8f2516cabeafff0d8b55c44e8737943cde957746 Mon Sep 17 00:00:00 2001 From: jeninh Date: Sat, 7 Feb 2026 20:43:44 -0500 Subject: [PATCH] Revert "Copy root pnpm manifests into Docker installer stages" --- apps/chat/Dockerfile | 7 +------ apps/web/Dockerfile | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/apps/chat/Dockerfile b/apps/chat/Dockerfile index a5df282..6f5ffaf 100644 --- a/apps/chat/Dockerfile +++ b/apps/chat/Dockerfile @@ -16,11 +16,6 @@ FROM base AS installer RUN apk update RUN apk add --no-cache libc6-compat WORKDIR /app - -# Ensure pnpm has a root manifest even if the prune output is missing it. -COPY --from=builder /app/package.json ./package.json -COPY --from=builder /app/pnpm-workspace.yaml ./pnpm-workspace.yaml -COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml # First install the dependencies COPY --from=builder /app/out/json/ . @@ -49,4 +44,4 @@ WORKDIR /app/apps/chat EXPOSE 8000 -ENTRYPOINT ["node", "dist/index.js"] +ENTRYPOINT ["node", "dist/index.js"] \ No newline at end of file diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 19cebea..bf841e8 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -34,11 +34,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY --from=builder /tmp/commit_hash /tmp/commit_hash WORKDIR /app -# Ensure pnpm has a root manifest even if the prune output is missing it. -COPY --from=builder /app/package.json ./package.json -COPY --from=builder /app/pnpm-workspace.yaml ./pnpm-workspace.yaml -COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml - # First install the dependencies (as they change less often) COPY --from=builder /app/out/json/ . RUN pnpm install --frozen-lockfile @@ -97,4 +92,4 @@ COPY --from=installer --chown=nextjs:nodejs /app/node_modules ./node_modules COPY --from=installer --chown=nextjs:nodejs /app/package.json ./package.json COPY --from=installer --chown=nextjs:nodejs /app/pnpm-workspace.yaml ./pnpm-workspace.yaml -CMD ["/usr/local/bin/start.sh"] +CMD ["/usr/local/bin/start.sh"] \ No newline at end of file