From 98b30cb356b184ed7449209024d6374a18bf0ca9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 22:00:03 +0000 Subject: [PATCH] Add .dockerignore allowlist for the build context The Dockerfile only COPYs motd.txt and bashrc, but without a .dockerignore the whole repo (including .git) is sent to the builder. Use an allowlist so new files are excluded by default. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_014iDTyB5N8EdZyyZo4ymUVR --- .dockerignore | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..f058a7f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +# Allowlist: the build context only needs the files the Dockerfile COPYs. +# Keeps .git, CI config and docs out of the context (faster, smaller, no leaks). +* +!motd.txt +!bashrc