feat: optimize Dockerfiles for dependency installation and update ngsw-config.json to remove unused data groups

This commit is contained in:
2026-05-16 17:04:03 +03:30
parent fe09aa4931
commit d996aacc29
4 changed files with 10 additions and 19 deletions
+3 -1
View File
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1.4
# Development Dockerfile with hot reload support
FROM node:20-alpine
@@ -10,7 +11,8 @@ RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN pnpm install --frozen-lockfile
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
pnpm config set store-dir /pnpm/store && pnpm install --frozen-lockfile
# Copy source code
COPY . .