chore: 移除 build-and-push.sh 及其 README 引用

This commit is contained in:
2026-08-04 05:44:57 +08:00
parent b344f1930e
commit 61896d6ad5
2 changed files with 0 additions and 54 deletions
-10
View File
@@ -61,7 +61,6 @@ pnpm dev
├── public/ # 公开静态文件(favicon、robots.txt 等)
├── Dockerfile # 容器镜像构建
├── Jenkinsfile # CI/CD 流水线(构建、推送镜像、部署容器)
├── build-and-push.sh # 手动构建并推送镜像脚本
├── docker-compose.yml # 本地容器编排
├── nuxt.config.ts # Nuxt 配置(模块、i18n、Tailwind 等)
├── tailwind.config.js # Tailwind 配置
@@ -82,17 +81,8 @@ pnpm build
- `Dockerfile` — 多阶段构建:安装依赖 → 构建 → 仅保留 `.output/` 运行产物
- `Jenkinsfile` — Jenkins 流水线:构建镜像 → 推送到镜像仓库 → 部署容器
- `build-and-push.sh` — 手动构建并推送镜像,凭据通过环境变量 `REGISTRY_USERNAME` / `REGISTRY_PASSWORD` 提供
- `docker-compose.yml` — 本地容器编排,宿主机 3100 端口映射容器 3000 端口
手动构建并推送镜像:
```bash
REGISTRY_USERNAME="<用户名>" REGISTRY_PASSWORD="<密码>" ./build-and-push.sh
```
> 注意:不要在命令中明文写入密码,凭据请通过环境变量或 CI 的凭据管理注入。
## 国际化(i18n
项目使用 `@nuxtjs/i18n` 实现中/英双语: