front/.dockerignore
zzh c6723ab476
Some checks failed
Build and Deploy Front / deploy (push) Failing after 32m20s
chore: 前端部署去掉 nginx,静态由 serve,TLS 交 Traefik
生产不再内置 nginx/`__cos__`;镜像用 serve -s,HTTPS 由 Traefik+cert-manager;面单预览走 stream。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 12:24:36 +08:00

31 lines
526 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Dockerfile.k3s 多阶段:需要源码 + lock;排除体积与无关文件
# (旧 Dockerfile 若本地先 pnpm build 再打包,请临时改回只放行 dist/)
.git
.gitea
.husky
.cursor
.vscode
.idea
node_modules
dist
coverage
*.log
npm-debug.log*
pnpm-debug.log*
docs
# 勿写 IDE*:会误伤官网目录「IDE官网」,导致 / 探针 404
xhs-agent-desktop
**/*.md
!src/**/*.md
!README.md
!package.json
.env*
!.env.production
# 本地简易镜像另用 Dockerfile;k3s 构建用 Dockerfile.k3s
Dockerfile