From b99e0940f7a7a2c9d59f7fb62e05720868aeaef9 Mon Sep 17 00:00:00 2001 From: Bkk1234 Date: Sat, 21 Nov 2026 21:00:16 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20.gitattributes=20=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=87=E0=B8=84=E0=B8=B1=E0=B8=9A=20LF=20=E0=B9=83=E0=B8=AB?= =?UTF-8?q?=E0=B9=89=20Dockerfile/compose/scripts=20(core.autocrlf=3Dtrue?= =?UTF-8?q?=20=E0=B8=9A=E0=B8=99=20Windows)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0a84366 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# ไฟล์ที่รันบน Linux/ในคอนเทนเนอร์ ต้องเป็น LF เสมอ (core.autocrlf=true บน Windows จะเติม CR ให้) +Dockerfile text eol=lf +*.dockerfile text eol=lf +docker-compose.yml text eol=lf +docker-compose.*.yml text eol=lf +.dockerignore text eol=lf +*.sh text eol=lf +*.mjs text eol=lf +*.ts text eol=lf +*.json text eol=lf