From 80871566b79df746a6e7639dcd235804aea528c5 Mon Sep 17 00:00:00 2001 From: Outi Savolainen <43496587+outisa@users.noreply.github.com> Date: Wed, 7 Oct 2026 22:46:59 +0300 Subject: [PATCH] Update .dockerignore [skip ci] --- backend/.dockerignore | 117 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 114 insertions(+), 3 deletions(-) diff --git a/backend/.dockerignore b/backend/.dockerignore index e2016cf..8a82afa 100644 --- a/backend/.dockerignore +++ b/backend/.dockerignore @@ -1,3 +1,114 @@ -node_modules -.env -*.sql +# disallow directory named "private", it can be used to store things that should not end up in version control or images +# NOTE: needs to be at the root of the project +private/ +gitignored/ + +# disallow version control, package managment, IDEs, tools etc +**/node_modules +**/.venv +**/.git +**/.github +**/.vscode +**/.idea +**/.zed +**/coverage/ +**/.eslintcache +**/.DS_Store +**/CLAUDE.md +**/GEMINI.md +**/AGENTS.md + +# do not include any data by default (except json) +**/*.csv +**/*.tsv + +**/*.db +**/*.sqlite +**/*.sql +**/*.psql +**/*.sqlz +**/*.sqz +**/*.sql.gz +**/*.bson +**/*.jsonl + +**/*.bin +**/*.dat +**/*.data + +**/*.swp +**/*.tmp +**/.~lock* +**/*.pid +**/*.seed +**/*.lock + +**/*.gz +**/*.tgz +**/*.xz +**/*.zip +**/*.gzip +**/*.tar +**/*.xz +**/*.7z +**/*.rar + +**/*.docx +**/*.doc +**/*.xlsx +**/*.xls +**/*.pptx +**/*.ppt +**/*.odt +**/*.odp +**/*.ods +**/*.pdf + +**/*.ipynb + +# disallow logs +**/*.log +**/*.log* +**/logs +**/log +**/*.cpuprofile +**/*.heapprofile +**/*.heapsnapshot + +# disallow configuration +**/*.yml +**/*.yaml +**/*.toml +**/*.conf +**/*.ini +**/toska_login +**/*Dockerfile +**/*Dockerfile.dev +**/*docker-compose.yml +**/*.husky +**/manifests + +# disallow secrects +**/.env +**/.env* +**/*.env.* +**/.secrects +**/*.secrects +**/*.s3cfg + +# disallow backups +**/backups +**/backup +**/dump +**/dumps +**/databasedumps +**/privateData +**/temp +**/minio-data +**/db_backups +**/mongo_data +**/uploads + +# additional inclusions here +tests +# exclusions here