chore: add dockerignore for scripts, local artifacts, and env files

The image previously inherited everything from a `COPY . .`, including
.env (secrets), local notes.db copies, and admin scripts that should
not run in prod containers.
This commit is contained in:
Julien Calixte
2026-05-05 14:07:35 +02:00
parent 355fc45316
commit 6f4d8d3b56
2 changed files with 26 additions and 1 deletions

25
.dockerignore Normal file
View File

@@ -0,0 +1,25 @@
# version control / editor / OS
.git/
.gitignore
.github/
.idea/
.vscode/
.DS_Store
# local SQLite + sidecars (DB lives at /data in the container)
*.db
*.db-shm
*.db-wal
*.db-journal
remote-db/
# secrets — provide via the orchestrator's env config, not baked into the image
.env
.env.*
# admin / dev-only scripts (run locally, not in prod containers)
scripts/
# logs and caches
*.log
.cache/

View File

@@ -59,7 +59,7 @@ const fireWebhooks = async (
await dispatchAll(webhooks, payload, `${verb} ${did}`);
};
const BULK_CREATE_DEBOUNCE_MS = 15000;
const BULK_CREATE_DEBOUNCE_MS = 500;
type BulkBuffer = {
records: Record<string, unknown>[];