lushdog@outlook.com 1 mese fa
parent
commit
df40ed5569
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -4,7 +4,9 @@ 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}
+ARG SOL_ENDPOINT
+
+RUN echo "SOL_ENDPOINT=${SOL_ENDPOINT}"
 
 # 安装 pnpm
 RUN corepack enable && corepack prepare pnpm@latest --activate