This commit is contained in:
parent
1bb693433a
commit
93c48801a3
@ -1,5 +1,30 @@
|
||||
# 镜像只需要 dist/ 与 nginx-docker.conf,其余一律不进构建上下文
|
||||
*
|
||||
!dist/
|
||||
!dist/**
|
||||
!nginx-docker.conf
|
||||
# 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*
|
||||
xhs-agent-desktop
|
||||
**/*.md
|
||||
!package.json
|
||||
|
||||
.env*
|
||||
!.env.production
|
||||
|
||||
# 本地/旧部署用的 nginx,k3s 用 nginx-k3s.conf
|
||||
nginx-default.conf
|
||||
nginx-docker.conf
|
||||
Dockerfile
|
||||
|
||||
Loading…
Reference in New Issue
Block a user