Fix Dockerfile to install devDependencies for Vite build

This commit is contained in:
Charmunks 2025-12-06 16:46:40 -05:00
parent 0db68a9df6
commit 9130bc418e

View file

@ -37,9 +37,9 @@ WORKDIR /app
COPY package*.json ./
COPY client/package*.json ./client/
# Install dependencies
# Install dependencies (include devDependencies for build)
RUN npm install
RUN cd client && npm install
RUN cd client && npm install --include=dev
# Copy application code
COPY . .