|
|
@@ -4,6 +4,7 @@ FROM node:20-alpine AS base
|
|
|
# 设置 npm 和 pnpm 镜像源为 npm 官方镜像
|
|
|
ENV PNPM_REGISTRY=https://registry.npmjs.org
|
|
|
ENV npm_config_registry=https://registry.npmjs.org
|
|
|
+ENV SOL_ENDPOINT=${SOL_ENDPOINT}
|
|
|
|
|
|
# 安装 pnpm
|
|
|
RUN corepack enable && corepack prepare pnpm@latest --activate
|