front/.dockerignore
xiaolipro 2ea251d418
All checks were successful
Build and Deploy Front / deploy (push) Successful in 3m59s
1111
2026-11-11 16:36:33 +08:00

33 lines
704 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:宿主机构建 Dockerfile / Dockerfile.k3s.runtime 需要 COPY dist/
# Kaniko 多阶段会在镜像内重新 pnpm build,带上旧 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
!.env.ideship-test
# 本地简易镜像另用 Dockerfile;k3s 构建用 Dockerfile.k3s
Dockerfile