diff --git a/.dockerignore b/.dockerignore index 256fe01..660eaf3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -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