feat: V1.1 批次入库——色号表SEO页/Showcase/图纸库/帮助中心/JSON-LD/CI门禁/竞品分析

This commit is contained in:
Sisyphus committed 2026-08-15 14:41:00 +08:00
1 parent 40e2342a02
commit f53f0a2b25
104 files changed
+21760 -157

No files matched your search

+8
View File
@@ -21,6 +21,14 @@ COPY tsconfig.json vite.config.ts index.html ./
COPY src ./src
COPY public ./public
# 生产 API 基址(T-110):默认同源 /api,浏览器请求走 Nginx `/api/` 反向代理到
# 后端容器(server:8788),同源请求无需 CORS。可用 build arg 覆盖:
# docker compose build --build-arg VITE_API_BASE=http://api.example.com
# 注意:仅影响本镜像构建;本地 `npm run dev`(Vite 5173)无此变量,仍回退到
# src/lib/api.ts 中的开发默认值 http://localhost:8788。
ARG VITE_API_BASE=/api
ENV VITE_API_BASE=$VITE_API_BASE
# 构建 React 应用 → dist/(与 package.json 的 build 脚本一致:vite build)
RUN npm run build