From 63cce6963446bb2209a0e10e449f01a0b2d7490b Mon Sep 17 00:00:00 2001 From: "Nemo (Claude Code)" Date: Wed, 1 Apr 2026 03:59:41 +0000 Subject: [PATCH] fix: install devDeps in builder stage for tailwind/typescript (FIBEROPS-249) --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 30ba999..cc47d37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM node:22-alpine AS builder WORKDIR /app - +# Install ALL deps (including devDeps like tailwindcss, typescript) +ENV NODE_ENV=development COPY package*.json ./ RUN npm ci - COPY . . ENV NEXT_TELEMETRY_DISABLED=1 RUN npm run build @@ -12,11 +12,9 @@ FROM node:22-alpine AS runner WORKDIR /app ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 - COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static COPY --from=builder /app/public ./public - EXPOSE 3000 ENV PORT=3000 CMD ["node", "server.js"] -- 2.43.0