From 2309dae92dcdc7f0cb054bb8bff97fb45950f95c Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 26 Oct 2021 08:51:41 +0200 Subject: [PATCH] add hidden dockerignore and gitattributes --- admin/.dockerignore | 3 +++ admin/.gitattributes | 15 +++++++++++++++ docker-compose.yml | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 admin/.dockerignore create mode 100644 admin/.gitattributes diff --git a/admin/.dockerignore b/admin/.dockerignore new file mode 100644 index 000000000..88249539f --- /dev/null +++ b/admin/.dockerignore @@ -0,0 +1,3 @@ +node_modules +.git +.gitignore \ No newline at end of file diff --git a/admin/.gitattributes b/admin/.gitattributes new file mode 100644 index 000000000..aa70f3c26 --- /dev/null +++ b/admin/.gitattributes @@ -0,0 +1,15 @@ +# Auto detect text files and perform LF normalization +*.scss linguist-language=Vue +*.css linguist-language=Vue + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/docker-compose.yml b/docker-compose.yml index 954b5158d..5878f6472 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,7 +52,7 @@ services: - NODE_ENV="production" # env_file: # - ./.env - # - ./frontend/.env + # - ./admin/.env ######################################################### ## MARIADB ##############################################