fix: include devDependencies in deps stage so tailwind/postcss are present at build

This commit is contained in:
PM
2026-05-02 18:25:58 +00:00
parent 5c55e33710
commit 4b98d07069
+1 -1
View File
@@ -4,7 +4,7 @@
FROM node:20-alpine AS deps FROM node:20-alpine AS deps
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
RUN if [ -f package-lock.json ]; then npm ci; else npm install --no-audit --no-fund; fi RUN if [ -f package-lock.json ]; then npm ci --include=dev; else npm install --no-audit --no-fund --include=dev; fi
# ---- builder ---- # ---- builder ----
FROM node:20-alpine AS builder FROM node:20-alpine AS builder