From 4bab5bb87d1b801d4f57cf0ca8dfad618f69788f Mon Sep 17 00:00:00 2001 From: Bram Verhulst Date: Sat, 19 Sep 2026 22:47:28 +0200 Subject: [PATCH] fix: fuck docker --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 104384b..2d2ca78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,7 @@ CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main.js"] # ---- Production Dashboard image ---- FROM node:20-alpine AS dashboard WORKDIR /app +RUN npm install -g pnpm COPY --from=builder /app/apps/dashboard/.next ./.next COPY --from=builder /app/apps/dashboard/package.json ./ @@ -61,6 +62,9 @@ RUN mkdir -p public # Copy installed node_modules COPY --from=builder /app/node_modules ./node_modules +# Resolve workspace symlinks for shared package +COPY --from=builder /app/packages/shared/dist ./node_modules/@kooltab/shared/dist + EXPOSE 3000 -CMD ["npx", "next", "start"] \ No newline at end of file +CMD ["pnpm", "next", "start"] \ No newline at end of file