From 025f239a58f3a1bf3e3b5e7f116a3f335851ee13 Mon Sep 17 00:00:00 2001 From: "r@l" Date: Tue, 24 Mar 2026 11:30:58 +0100 Subject: [PATCH] Add .dockerignore to reduce Docker build context The project had no .dockerignore, causing the entire .git history, compiled binaries, and other unnecessary files to be sent to the Docker daemon on every build. This reduces build context size and prevents accidental inclusion of sensitive files in the image. Co-Authored-By: Claude Opus 4.6 (1M context) --- .dockerignore | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..136ca00 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,33 @@ +# Version control +.git +.gitignore + +# Build artifacts (will be built inside container) +build/bin +build/gen + +# Profiling data +*.prof + +# Node modules (installed inside container) +node_modules/ + +# Python cache +__pycache__/ +*.pyc + +# Generated fuzzing config +**/fuzz_config/ + +# IDE and editor files +.vscode/ +.idea/ +*.swp +*.swo + +# Environment files +.env + +# Documentation (not needed in image) +LICENSE +CONTRIBUTORS.md