feat(docker): 添加docker相关配置和文档

添加Dockerfile、.dockerignore、nginx.conf配置文件
新增docker.md文档说明构建和运行步骤
更新.vscode设置支持docker文件嵌套
This commit is contained in:
feige996
2025-09-17 10:37:59 +08:00
parent e5996b3b93
commit 4e3942eca8
6 changed files with 209 additions and 1 deletions

31
.dockerignore Normal file
View File

@@ -0,0 +1,31 @@
# 依赖目录
node_modules
# 版本控制
.git
.gitignore
# 构建产物
/dist
# 开发工具配置
.vscode/
.idea/
.trae/
.cursor/
# 其他配置文件
.github/
.husky/
# 日志文件
logs/
# 缓存文件
.cache/
*.swp
*.swo
# 操作系统文件
.DS_Store