fix(build): garantizar inclusion de devDependencies y tailwind en todos los dockerfiles para coolify

This commit is contained in:
AI Bot 2026-08-25 23:17:57 -05:00
parent 8c31428fb5
commit 577fa3d23f
6 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
RUN npm ci --include=dev
# Rebuild the source code only when needed
FROM base AS builder

View File

@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
RUN npm ci --include=dev
# 2. Build the app
FROM base AS builder

View File

@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
RUN npm ci --include=dev
# 2. Build the app
FROM base AS builder

View File

@ -46,18 +46,18 @@
"tailwind-merge": "^3.5.0",
"video.js": "^8.23.7",
"zod": "^4.3.6",
"zustand": "^5.0.12"
"zustand": "^5.0.12",
"@tailwindcss/postcss": "^4.2.2",
"tailwindcss": "^4.2.2",
"postcss": "^8.5.10",
"autoprefixer": "^10.4.27"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.2.2",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"autoprefixer": "^10.4.27",
"eslint": "^9",
"eslint-config-next": "^16.2.6",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^5"
},
"overrides": {

View File

@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
RUN npm ci --include=dev
# 2. Build the app
FROM base AS builder

View File

@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
RUN npm ci --include=dev
# 2. Build the app
FROM base AS builder