This commit is contained in:
2026-04-01 23:02:24 +03:30
parent e76dd01c4d
commit 0013093d94
3 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -30,7 +30,10 @@ FROM base AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --ignore-scripts
# استفاده از کش داکر برای npm (تغییر اصلی در این بخش انجام شده است)
RUN --mount=type=cache,target=/root/.npm \
npm ci --ignore-scripts
# ---- build stage ----
FROM base AS builder