diff --git a/frontend/mining-admin-web/Dockerfile b/frontend/mining-admin-web/Dockerfile index 9f66271f..1a8847bb 100644 --- a/frontend/mining-admin-web/Dockerfile +++ b/frontend/mining-admin-web/Dockerfile @@ -24,8 +24,6 @@ COPY . . # 设置环境变量 ENV NEXT_TELEMETRY_DISABLED=1 ENV NODE_ENV=production -# 设置 API 网关地址(构建时需要,用于 next.config.js rewrites) -ENV API_GATEWAY_URL=https://rwaapi.szaiai.com # 构建应用 RUN npm run build diff --git a/frontend/mining-admin-web/docker-compose.yml b/frontend/mining-admin-web/docker-compose.yml index 8caea773..3002ad79 100644 --- a/frontend/mining-admin-web/docker-compose.yml +++ b/frontend/mining-admin-web/docker-compose.yml @@ -13,7 +13,6 @@ services: - NODE_ENV=production - PORT=3100 - NEXT_TELEMETRY_DISABLED=1 - - API_GATEWAY_URL=https://rwaapi.szaiai.com - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:3023} - NEXT_PUBLIC_APP_NAME=挖矿管理后台 healthcheck: