This commit is contained in:
+2
-4
@@ -3,10 +3,8 @@ FROM node:22-alpine AS base
|
|||||||
|
|
||||||
ENV TZ=Asia/Tehran
|
ENV TZ=Asia/Tehran
|
||||||
|
|
||||||
# corepack ships with the official Node image; avoid the Runflare mirror here
|
# Runflare build hosts cannot reach registry.npmjs.org; use their npm mirror.
|
||||||
# (mirror often 500s on corepack). Project deps still use the mirror below.
|
RUN npm install -g pnpm@9.15.9 --registry=https://mirror-npm.runflare.com
|
||||||
RUN corepack enable \
|
|
||||||
&& corepack prepare pnpm@9.15.9 --activate
|
|
||||||
|
|
||||||
# Stage 2: Install all dependencies (including dev)
|
# Stage 2: Install all dependencies (including dev)
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
|
|||||||
Reference in New Issue
Block a user