Commit 3f245cf
Add .dockerignore to reduce build context size and fix CI disk space error
The Docker build context was including .git directories (including submodules),
which added 500+ MB of unnecessary data. This caused 'no space left on device'
errors in GitHub Actions runners.
The .dockerignore file excludes:
- .git directories (saves ~500MB from revbayes submodule alone)
- Build artifacts (_build/, output/, *.o, *.a)
- Python cache files
- Documentation and IDE files
- CI/CD files
This reduces build context size and speeds up builds by avoiding copying
unnecessary files to Docker daemon.
Note: Git info for commit logging will not be available in container builds,
but this is acceptable for CI/production builds.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 95158bb commit 3f245cf
1 file changed
+41
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments