.dockerignore 921 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. .typecheck-venv/
  20. ENV/
  21. env/
  22. .env
  23. *.egg-info/
  24. .eggs/
  25. dist/
  26. build/
  27. # Node
  28. frontend/node_modules/
  29. frontend/.npm
  30. # IDE
  31. .idea/
  32. .vscode/
  33. *.swp
  34. *.swo
  35. # Testing
  36. .pytest_cache/
  37. .coverage
  38. htmlcov/
  39. # Logs and data (will be mounted as volumes)
  40. logs/
  41. data/
  42. *.log
  43. *.db
  44. # Build artifacts
  45. static/
  46. # Documentation
  47. docs/
  48. *.md
  49. !requirements.txt
  50. # Docker
  51. Dockerfile
  52. docker-compose*.yml
  53. .dockerignore