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
Publish Fast Tabler Docker image / build-and-push-fast (push) Has been cancelled
This commit is contained in:
+2
-3
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user