Fix npm ci command for newer npm versions

Replace deprecated --only=production with --omit=dev flag
which is required for npm 10+ after the npm upgrade.
This commit is contained in:
Claude
2025-11-27 16:25:28 +00:00
committed by paul
parent d494eda301
commit 0043f2aaf4
+2 -2
View File
@@ -19,8 +19,8 @@ WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Install dependencies (--omit=dev replaces deprecated --only=production)
RUN npm ci --omit=dev
# Copy application files
COPY . .