change ro runflare
This commit is contained in:
3
.npmrc
3
.npmrc
@@ -1,3 +1,4 @@
|
||||
registry=https://registry.npmjs.org/
|
||||
registry=https://mirror-npm.runflare.com/
|
||||
replace-registry-host=always
|
||||
fund=false
|
||||
audit=false
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user