From 8221328da4a2dc9ae3e93e039a0cbe0db8697c3c Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Mon, 1 Jun 2026 11:13:17 +0330 Subject: [PATCH] update: docker file --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c17d16..d8d43da 100755 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,10 @@ FROM node:22-alpine AS base ENV TZ=Asia/Tehran -# Install and activate pnpm via corepack -RUN npm install -g corepack@latest --registry=https://mirror-npm.runflare.com \ - && corepack enable \ - && corepack prepare pnpm@9 --activate +# corepack ships with the official Node image; avoid the Runflare mirror here +# (mirror often 500s on corepack). Project deps still use the mirror below. +RUN corepack enable \ + && corepack prepare pnpm@9.15.9 --activate # Stage 2: Install all dependencies (including dev) FROM base AS deps