From 6ed7e3292219991d197d54c39f6fad176c370916 Mon Sep 17 00:00:00 2001 From: mohamad Date: Sun, 1 Jun 2025 15:56:49 +0200 Subject: [PATCH] refactor: Update .dockerignore for improved clarity and organization - Consolidated and categorized ignored files for better readability. - Added entries for logs, local development, and documentation. - Removed redundant entries and ensured proper grouping of related files. --- be/.dockerignore | 65 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 17 deletions(-) diff --git a/be/.dockerignore b/be/.dockerignore index 405b1e0..3f544e2 100644 --- a/be/.dockerignore +++ b/be/.dockerignore @@ -1,30 +1,61 @@ -# Git files +# Git .git .gitignore -# Virtual environment -.venv -venv/ -env/ -ENV/ -*.env # Ignore local .env files within the backend directory if any - -# Python cache +# Python __pycache__/ *.py[cod] *$py.class +*.so +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg -# IDE files +# Virtual Environment +venv/ +ENV/ + +# IDE .idea/ .vscode/ +*.swp +*.swo -# Test artifacts +# Logs +logs/ +*.log + +# Local development +.env +.env.local +.env.*.local + +# Docker +Dockerfile* +docker-compose* +.dockerignore + +# Tests +tests/ +test/ .pytest_cache/ +.coverage htmlcov/ -.coverage* -# Other build/temp files -*.egg-info/ -dist/ -build/ -*.db # e.g., sqlite temp dbs \ No newline at end of file +# Documentation +docs/ +*.md +!README.md \ No newline at end of file -- 2.45.2