浏览代码

RHL-005-feat(docker): add .dockerignore to exclude env files and build outputs

Code_Uwe 2 天之前
父节点
当前提交
82b73c21b1
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      .dockerignore

+ 14 - 0
.dockerignore

@@ -0,0 +1,14 @@
+# env files (never bake secrets into images)
+.env*
+!.env*.example
+
+# dependencies / build output
+node_modules
+.next
+coverage
+.git
+.DS_Store
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+.pnpm-debug.log*