fix: 兼容 BuildKit 的纯 ASCII 构建上下文规则
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user