+2
-2
@@ -6,8 +6,8 @@
|
|||||||
# Copy only dependency files first (better cache)
|
# Copy only dependency files first (better cache)
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Use clean install for reproducible builds
|
# Install devDependencies too (vite, etc.) even when NODE_ENV=production
|
||||||
RUN npm ci
|
RUN npm ci --include=dev
|
||||||
|
|
||||||
# Copy source after deps (maximizes cache usage)
|
# Copy source after deps (maximizes cache usage)
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user