chore: Update Dockerfile to switch from npm ci to npm install for improved dependency management with caching
Publish Fast Tabler Docker image / build-and-push-fast (push) Failing after 2m36s

This commit is contained in:
2025-08-08 08:33:10 +07:00
parent c139a0c9c9
commit 4e5025b86e
+2 -2
View File
@@ -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/