perf: Prisma 引擎下载使用国内镜像加速
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
FROM node:20-alpine AS base
|
FROM node:20-alpine AS base
|
||||||
RUN npm config set registry https://registry.npmmirror.com
|
RUN npm config set registry https://registry.npmmirror.com
|
||||||
|
ENV PRISMA_ENGINES_MIRROR=https://registry.npmmirror.com/-/binary/prisma
|
||||||
|
|
||||||
# --- Dependencies ---
|
# --- Dependencies ---
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
|
|||||||
Reference in New Issue
Block a user