fix some for mirror

This commit is contained in:
mahmood
2026-09-10 00:48:06 +03:30
parent 56caedb8b2
commit 3e3cb4b3c0
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# Skip corepack (it fetches pnpm from npmjs/Cloudflare). Install from mirror instead.
RUN npm install -g pnpm@9.0.0 turbo@2.10.12 \
# Pin major only — Iranian mirrors often lag behind exact patch versions (e.g. 2.10.12).
RUN npm install -g pnpm@9 turbo@2 \
&& printf 'registry=%s\n' "${NPM_REGISTRY}" > /root/.npmrc
FROM base AS builder