chore: Update Dockerfile for faster npm installation and enhance package.json with additional testing dependencies to improve development and testing capabilities.
Publish Fast Tabler Docker image / build-and-push-fast (push) Has been cancelled

This commit is contained in:
2025-12-24 16:19:52 +07:00
parent 248b78ce96
commit bda9b4fc27
2 changed files with 8 additions and 9 deletions
+2 -3
View File
@@ -12,10 +12,9 @@ RUN npm config set registry https://registry.npmjs.org/ \
COPY frontend/package*.json ./
# Ускоряем установку: --ignore-scripts пропускает postinstall скрипты
# npm install с кэшем для ускорения
RUN --mount=type=cache,target=/root/.npm \
npm ci --no-audit --no-fund --ignore-scripts --no-optional || \
npm install --no-audit --no-fund --ignore-scripts --no-optional
npm install --no-audit --no-fund
COPY frontend/src/ ./src/
COPY frontend/public/ ./public/