From 4e5025b86eb531a19844d4f77178e3b05f974a64 Mon Sep 17 00:00:00 2001 From: Denis Shatskiy Date: Fri, 8 Aug 2025 08:33:10 +0700 Subject: [PATCH] chore: Update Dockerfile to switch from npm ci to npm install for improved dependency management with caching --- Dockerfile.fast | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.fast b/Dockerfile.fast index 6125c86..278de3a 100644 --- a/Dockerfile.fast +++ b/Dockerfile.fast @@ -15,8 +15,8 @@ RUN npm config set registry https://registry.npmjs.org/ \ # Copy package files first for better caching COPY frontend/package*.json ./ -# Clean install dependencies with lockfile for reproducible and cached builds -RUN --mount=type=cache,target=/root/.npm npm ci --no-audit --no-fund +# Install dependencies with cache (lockfile может отличаться после overrides/optional deps) +RUN --mount=type=cache,target=/root/.npm npm install --no-audit --no-fund # Copy source code (only what's needed for build) COPY frontend/src/ ./src/