Some checks failed
Build and Deploy Front / deploy (push) Failing after 32m20s
生产不再内置 nginx/`__cos__`;镜像用 serve -s,HTTPS 由 Traefik+cert-manager;面单预览走 stream。 Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
526 B
Plaintext
31 lines
526 B
Plaintext
# 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
|