fix: include devDependencies in deps stage so tailwind/postcss are present at build
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
FROM node:20-alpine AS deps
|
||||
WORKDIR /app
|
||||
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 ----
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
Reference in New Issue
Block a user