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/