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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user