change ro runflare

This commit is contained in:
2026-05-07 13:34:00 +03:30
parent 40d63737c0
commit 4476fbd9d8
2 changed files with 4 additions and 2 deletions

3
.npmrc
View File

@@ -1,3 +1,4 @@
registry=https://registry.npmjs.org/
registry=https://mirror-npm.runflare.com/
replace-registry-host=always
fund=false
audit=false

View File

@@ -2,7 +2,8 @@ FROM node:20-alpine AS deps
WORKDIR /app
# استفاده از Runflare mirror برای NPM
RUN npm config set registry https://registry.npmmirror.com
RUN npm config set registry https://mirror-npm.runflare.com/ \
&& npm config set replace-registry-host always
# غیرفعال کردن Prisma postinstall
ENV PRISMA_SKIP_POSTINSTALL_GENERATE=1