From 722d9da9683db84d4667d5971a5c8516d5672d5a Mon Sep 17 00:00:00 2001 From: Dorian Date: Tue, 16 Jun 2026 14:52:49 +0100 Subject: [PATCH] chore: ignore temp SSH keys and env files Keep .codex-temp-keys/ (local SSH key) and .env out of git and the Docker build context so they never reach a commit or image layer. Co-Authored-By: Claude Opus 4.8 (1M context) --- .dockerignore | 7 +++++++ .gitignore | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/.dockerignore b/.dockerignore index c267a33..7e2dfcf 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,3 +9,10 @@ index.original.html .claude .vscode .idea + +# Secrets / not needed in the image +.codex-temp-keys +.env +*.pem +*_ssh_key +worker diff --git a/.gitignore b/.gitignore index d25799b..99df7c6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,11 @@ dist .DS_Store *.log .vite + +# Secrets / local-only +.codex-temp-keys/ +.env +.env.*.local +*.pem +*_ssh_key +*_ssh_key.pub