fix(docker): npm ci --include=dev to install devDeps in build stage

Coolify injects ARG NODE_ENV=production causing npm to skip devDependencies.
@tailwindcss/postcss is a devDependency required at build time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 17:20:21 +02:00
parent 5bf5dfce71
commit 44d4fde0a5
+1 -1
View File
@@ -4,7 +4,7 @@ FROM base AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
RUN npm ci --include=dev
FROM base AS builder
WORKDIR /app