diff --git a/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/.dockerignore b/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/.dockerignore new file mode 100644 index 00000000..eb271156 --- /dev/null +++ b/specs/04-Infrastructure-OPS/04-00-docker-compose/Desk-5439/ocr-sidecar/.dockerignore @@ -0,0 +1,49 @@ +# Docker build context exclusions +# ลดเวลา build โดยข้ามไฟล์ที่ไม่จำเป็น +# docker compose build --no-cache # ครั้งแรกให้สะอาด +# docker compose up -d + +# Python cache +__pycache__/ +*.py[cod] +*$py.class +*.so + +# Virtual environments +venv/ +env/ +ENV/ + +# IDE +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# Git +.git/ +.gitignore + +# Tests (ไม่ต้องการใน production image) +tests/ +*.spec.py + +# Documentation +*.md +!README.md + +# Environment files (security) +.env +.env.* +!.env.example + +# Docker files themselves +.dockerignore +docker-compose*.yml +Dockerfile* + +# Misc +*.log +.DS_Store +Thumbs.db