Explorar o código

添加用于 docker build 的 .dockerignore 文件

reghao hai 1 mes
pai
achega
561bab7e5e
Modificáronse 1 ficheiros con 28 adicións e 0 borrados
  1. 28 0
      .dockerignore

+ 28 - 0
.dockerignore

@@ -0,0 +1,28 @@
+# 依赖库:不要打包本地的 node_modules,由 Docker 重新安装
+node_modules
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# 构建输出:排除本地生成的构建文件
+dist/
+
+# WebStorm / JetBrains IDE 相关文件
+.idea/
+*.iws
+*.iml
+
+# Git 相关
+.git
+.gitignore
+
+# 环境变量与配置
+.env.local
+.env.*.local
+.DS_Store
+
+# 文档与杂项
+README.md
+LICENSE
+.editorconfig
+.vscode/