添加docker打包相关脚本

This commit is contained in:
2026-04-18 22:56:56 +08:00
parent e8dc59f957
commit df399f3cb8
6 changed files with 178 additions and 0 deletions

41
.dockerignore Normal file
View File

@@ -0,0 +1,41 @@
# 依赖目录
node_modules
npm-debug.log
yarn-error.log
# 构建产物(由 Dockerfile 内重新生成)
dist
# Git
.git
.gitignore
# IDE
.vscode
.idea
*.swp
*.swo
# 文档
README.md
*.md
# 测试和CI
*.test.js
coverage
.github
# 本地环境文件(生产环境变量已嵌入构建)
.env
.env.local
.env.development
.env.staging
# 脚本(不需要进入构建上下文)
docker-push.sh
entrypoint.sh
demo.sh
# 其他
.DS_Store
Thumbs.db