.dockerignore 904 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Git
  2. # Exclude all .git contents EXCEPT HEAD. HEAD is a tiny text file (under
  3. # 100 bytes) containing e.g. `ref: refs/heads/dev`, which the Dockerfile
  4. # copies into the image so detect_current_branch() in spoolbuddy_ssh.py
  5. # can report the correct branch for SpoolBuddy remote updates. Without
  6. # this, the production image has no git metadata at all and always falls
  7. # back to "main" regardless of which branch the operator built from.
  8. .git/*
  9. !.git/HEAD
  10. .gitignore
  11. # Python
  12. __pycache__
  13. *.py[cod]
  14. *$py.class
  15. *.so
  16. .Python
  17. venv/
  18. .venv/
  19. ENV/
  20. env/
  21. .env
  22. *.egg-info/
  23. .eggs/
  24. dist/
  25. build/
  26. # Node
  27. frontend/node_modules/
  28. frontend/.npm
  29. # IDE
  30. .idea/
  31. .vscode/
  32. *.swp
  33. *.swo
  34. # Testing
  35. .pytest_cache/
  36. .coverage
  37. htmlcov/
  38. # Logs and data (will be mounted as volumes)
  39. logs/
  40. data/
  41. *.log
  42. *.db
  43. # Build artifacts
  44. static/
  45. # Documentation
  46. docs/
  47. *.md
  48. !requirements.txt
  49. # Docker
  50. Dockerfile
  51. docker-compose*.yml
  52. .dockerignore