update: docker file
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-01 11:13:17 +03:30
parent ad11a6d006
commit 8221328da4
+4 -4
View File
@@ -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