From b6290d22bd1962ea6351752380833b6339ef070e Mon Sep 17 00:00:00 2001 From: Adam Leskis Date: Thu, 11 Jul 2024 22:01:11 +0100 Subject: [PATCH] Add dockerignore to clean up final image Currently, the final base image has a bunch of things it doesn't need, including the entire .git folder. This commit adds a .dockerignore to keep the things we don't need out of the final image. --- .dockerignore | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..4fbac8c5b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,22 @@ +.git +.gitattributes +.github +.gitignore + +.env.example + +.circleci +.clabot + +*.md +LICENSE +COPYRIGHT + +.vscode + +Dockerfile +.dockerignore + +*.yml + +spec