diff --git a/.gitattributes b/.gitattributes
index 6ee47c85de..05dde22ccc 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -5,3 +5,4 @@
 /.eslintrc linguist-language=YAML
 /.stylelintrc linguist-language=YAML
 /web_src/fomantic/build/** linguist-generated
+Dockerfile.* linguist-language=Dockerfile