fix: 兼容 BuildKit 的纯 ASCII 构建上下文规则

This commit is contained in:
2026-08-12 18:37:45 +08:00
parent 5d31ee5743
commit 6f22b03ed9

View File

@@ -1,14 +1,24 @@
node_modules
.nuxt
.output
.git
.DS_Store
data/db/*
data/media/*
素材库
docs
*.log
.env*
# Build context allowlist. Keep this file ASCII-only for BuildKit compatibility.
**
!Dockerfile
!package.json
!package-lock.json
!nuxt.config.ts
!tsconfig.json
!app/
!app/**
!server/
!server/**
!public/
!public/**
!scripts/
!scripts/**
!content/
!content/**
# Local-only source masters are not required by the production image.
public/images/hero-bg-v3-master.png
public/images/brand-logo-source.png
public/images/hero-bg-v1.png