Fix: Use npm install instead of npm ci to avoid lock file requirement

This commit is contained in:
2026-03-08 22:51:22 -05:00
parent a3dbb95255
commit 362c6deb22

View File

@@ -8,7 +8,7 @@ WORKDIR /app/client
COPY client/package*.json ./ COPY client/package*.json ./
# Install frontend dependencies # Install frontend dependencies
RUN npm ci --production=false RUN npm install
# Copy frontend source # Copy frontend source
COPY client/ ./ COPY client/ ./
@@ -31,8 +31,8 @@ WORKDIR /app
# Copy root package files # Copy root package files
COPY package*.json ./ COPY package*.json ./
# Install production dependencies only # Install production dependencies
RUN npm ci --production RUN npm install --omit=dev
# Copy server code # Copy server code
COPY server/ ./server/ COPY server/ ./server/