fix: fuck docker

This commit is contained in:
2026-09-19 22:47:28 +02:00
parent a282fcc0d2
commit 4bab5bb87d
+5 -1
View File
@@ -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"]
CMD ["pnpm", "next", "start"]