fix: Web Dockerfile API URL 改为通用默认值
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled

- 将硬编码的 VITE_API_URL=http://47.98.113.167:8000 改为 https://saas-api.xiaoxiajianji.com
- 支持通过 --build-arg VITE_API_URL=xxx 在构建时覆盖默认值
This commit is contained in:
2026-06-27 00:02:34 +08:00
parent 116ef1d7ce
commit f626dff4e7
+1 -1
View File
@@ -1,7 +1,7 @@
# Build stage
FROM docker.m.daocloud.io/library/node:20 AS builder
WORKDIR /app
ARG VITE_API_URL=http://47.98.113.167:8000
ARG VITE_API_URL=https://saas-api.xiaoxiajianji.com
ENV VITE_API_URL=$VITE_API_URL
COPY apps/web/package.json apps/web/package-lock.json ./apps/web/
WORKDIR /app/apps/web